diff options
-rwxr-xr-x | release.sh | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,11 @@ #! /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>") function sbt211() { sbt 'set scalaVersion := "2.11.0-M6"' 'set scalaBinaryVersion := scalaVersion.value' $@ @@ -21,7 +28,7 @@ sbt211 $RELEASE cat <<EOM Released! For non-snapshot releases: - - tag: git tag -s -a v$VERSION -m "scala-async $VERSION"; println() + - tag: git tag -s -a v$VERSION -m "scala-async $VERSION" - push tag: git push origin v$VERSION - close the staging repository: https://oss.sonatype.org - change the version number in build.sbt to a suitable -SNAPSHOT version |