File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 1212# % cat ~/.sbt/0.13/plugins/gpg.sbt
1313# addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.1")
1414
15- function sbt211() {
16- sbt ' set scalaVersion := "2.11.0-M6"' ' set scalaBinaryVersion := scalaVersion.value' $@
17- return $?
18- }
1915die () {
2016 echo " $@ "
2117 exit 1
@@ -26,15 +22,13 @@ RELEASE=";clean;test;publishSigned"
2622VERSION=` gsed -rn ' s/version :=.*"(.+).*"/\1/p' build.sbt`
2723[[ -n " $( git status --porcelain) " ]] && die " working directory is not clean!"
2824
29- sbt211 $CHECK
3025sbt $CHECK
3126sbt $RELEASE
32- sbt211 $RELEASE
3327
3428cat << EOM
3529Released! For non-snapshot releases:
36- - tag: git tag -s -a v$VERSION -m "scala-async $VERSION "
37- - push tag: git push origin v$VERSION
30+ - tag: git tag -s -a v$VERSION_2 .11 -m "scala-async $VERSION for Scala 2.11 "
31+ - push tag: git push origin v$VERSION_2 .11
3832 - close and release the staging repository: https://oss.sonatype.org
3933 - change the version number in build.sbt to a suitable -SNAPSHOT version
4034EOM
You can’t perform that action at this time.
0 commit comments