diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | build.sbt | 2 | ||||
-rwxr-xr-x | release.sh | 34 |
3 files changed, 3 insertions, 37 deletions
@@ -9,7 +9,7 @@ Add a dependency: ```scala // SBT -libraryDependencies += "org.scala-lang.modules" %% "scala-async" % "0.9.2" +libraryDependencies += "org.scala-lang.modules" %% "scala-async" % "0.9.3" ``` Write your first `async` block: @@ -145,6 +145,6 @@ difficult to understand. - See the [neg](https://github.com/scala/async/tree/master/src/test/scala/scala/async/neg) test cases for for constructs that are not allowed in a async block - See the [issue list](https://github.com/scala/async/issues?state=open) for which of these restrictions are planned - to be dropped in the next milestone. + to be dropped. - See [#13](https://github.com/scala/async/issues/13) for why `await` is not possible in closures, and for suggestions on ways to structure the code to work around this limitation. @@ -8,7 +8,7 @@ organization := "org.scala-lang.modules" name := "scala-async" -version := "0.9.3-SNAPSHOT" +version := "0.9.4-SNAPSHOT" libraryDependencies <++= (scalaVersion) { sv => Seq( diff --git a/release.sh b/release.sh deleted file mode 100755 index 89964ac..0000000 --- a/release.sh +++ /dev/null @@ -1,34 +0,0 @@ -#! /bin/bash -e -# -# Build, test, and release Scala Async. -# -# Requires credentials: -# -# % cat ~/.sbt/0.13/publish.sbt -# credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", "<user>", "<pass>") -# -# Also requires the sbt-pgp plugin installed globally to provide the `publishSigned` command. -# -# % cat ~/.sbt/0.13/plugins/gpg.sbt -# addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.1") - -die () { - echo "$@" - exit 1 -} - -CHECK=";clean;test;publishLocal" -RELEASE=";clean;test;publishSigned" -VERSION=`gsed -rn 's/version :=.*"(.+).*"/\1/p' build.sbt` -[[ -n "$(git status --porcelain)" ]] && die "working directory is not clean!" - -sbt $CHECK -sbt $RELEASE - -cat <<EOM -Released! For non-snapshot releases: - - tag: git tag -s -a v${VERSION}_2.10 -m "scala-async $VERSION for Scala 2.10" - - push tag: git push origin v${VERSION}_2.10 - - close and release the staging repository: https://oss.sonatype.org - - change the version number in build.sbt to a suitable -SNAPSHOT version -EOM
\ No newline at end of file |