diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-01-08 11:22:11 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-01-08 11:22:11 +1000 |
commit | 9da0183d3932a432da312cce29184aaac788facb (patch) | |
tree | 23d909e6d80d27bbb0b79809a3143d6f56837ab7 /release.sh | |
parent | 7577a844518b56556e54217720779fd5c5db6b66 (diff) | |
parent | a352b24ebe6a74b20ffb6b8c5aa6bc6eb3a415ba (diff) | |
download | scala-async-9da0183d3932a432da312cce29184aaac788facb.tar.gz scala-async-9da0183d3932a432da312cce29184aaac788facb.tar.bz2 scala-async-9da0183d3932a432da312cce29184aaac788facb.zip |
Merge pull request #103 from retronym/topic/0.9.4-SNAPSHOT
Bump to 0.9.4-SNAPSHOT
Diffstat (limited to 'release.sh')
-rwxr-xr-x | release.sh | 34 |
1 files changed, 0 insertions, 34 deletions
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 |