Skip to content

Commit b7ccc99

Browse files
committed
document release script
1 parent 96653d5 commit b7ccc99

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

release.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
#! /bin/bash -e
2+
#
3+
# Build, test, and release Scala Async.
4+
#
5+
# Requires credentials:
6+
#
7+
# % cat ~/.sbt/0.13/publish.sbt
8+
# credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", "<user>", "<pass>")
29

310
function sbt211() {
411
sbt 'set scalaVersion := "2.11.0-M6"' 'set scalaBinaryVersion := scalaVersion.value' $@
@@ -21,7 +28,7 @@ sbt211 $RELEASE
2128

2229
cat <<EOM
2330
Released! For non-snapshot releases:
24-
- tag: git tag -s -a v$VERSION -m "scala-async $VERSION"; println()
31+
- tag: git tag -s -a v$VERSION -m "scala-async $VERSION"
2532
- push tag: git push origin v$VERSION
2633
- close the staging repository: https://oss.sonatype.org
2734
- change the version number in build.sbt to a suitable -SNAPSHOT version

0 commit comments

Comments
 (0)