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 12
12
# % cat ~/.sbt/0.13/plugins/gpg.sbt
13
13
# addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.1")
14
14
15
- function sbt211() {
16
- sbt ' set scalaVersion := "2.11.0-M6"' ' set scalaBinaryVersion := scalaVersion.value' $@
17
- return $?
18
- }
19
15
die () {
20
16
echo " $@ "
21
17
exit 1
@@ -26,15 +22,13 @@ RELEASE=";clean;test;publishSigned"
26
22
VERSION=` gsed -rn ' s/version :=.*"(.+).*"/\1/p' build.sbt`
27
23
[[ -n " $( git status --porcelain) " ]] && die " working directory is not clean!"
28
24
29
- sbt211 $CHECK
30
25
sbt $CHECK
31
26
sbt $RELEASE
32
- sbt211 $RELEASE
33
27
34
28
cat << EOM
35
29
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
38
32
- close and release the staging repository: https://oss.sonatype.org
39
33
- change the version number in build.sbt to a suitable -SNAPSHOT version
40
34
EOM
You can’t perform that action at this time.
0 commit comments