Skip to content
This repository was archived by the owner on Jun 23, 2020. It is now read-only.

Commit 7995a5b

Browse files
committed
build.sh didn't use cross versions of sbt targets
1 parent b4a9d46 commit 7995a5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ if [[ "$TRAVIS_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[A-Za-z0-9-]+)? ]]; then
99
echo "Going to release from tag $TRAVIS_TAG!"
1010
myVer=$(echo $TRAVIS_TAG | sed -e s/^v//)
1111
publishVersion='set every version := "'$myVer'"'
12-
extraTarget="publish-signed"
12+
extraTarget="+publish-signed"
1313

1414
cat admin/gpg.sbt >> project/plugins.sbt
1515
admin/decrypt.sh sensitive.sbt
1616
(cd admin/ && ./decrypt.sh secring.asc)
1717
fi
1818

1919
# the concurrentRestrictions should prevent spurious test failures, see https://github.com/spray/spray/pull/233
20-
sbt ++$TRAVIS_SCALA_VERSION 'set concurrentRestrictions in Global += Tags.limit(Tags.Test, 1)' "$publishVersion" clean update compile test $extraTarget
20+
sbt "$publishVersion" clean update +compile +test +publishLocal $extraTarget

0 commit comments

Comments
 (0)