Skip to content

Commit 1926d79

Browse files
committed
Update release script, only 2.11 version publised from this branch
1 parent fdbced6 commit 1926d79

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

release.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
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-
}
1915
die () {
2016
echo "$@"
2117
exit 1
@@ -26,15 +22,13 @@ RELEASE=";clean;test;publishSigned"
2622
VERSION=`gsed -rn 's/version :=.*"(.+).*"/\1/p' build.sbt`
2723
[[ -n "$(git status --porcelain)" ]] && die "working directory is not clean!"
2824

29-
sbt211 $CHECK
3025
sbt $CHECK
3126
sbt $RELEASE
32-
sbt211 $RELEASE
3327

3428
cat <<EOM
3529
Released! 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
4034
EOM

0 commit comments

Comments
 (0)