We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fe0a6c commit d3d1d4eCopy full SHA for d3d1d4e
admin/build.sh
@@ -7,11 +7,12 @@
7
8
if [[ "$TRAVIS_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[A-Za-z0-9-]+)? ]]; then
9
echo "Going to release from tag $TRAVIS_TAG!"
10
- export publishVersion="set every version := \"$(echo $TRAVIS_TAG | sed -e s/^v//)\""
+ myVer=$(echo $TRAVIS_TAG | sed -e s/^v//)
11
+ export publishVersion='set every scalaVersion := "'$myVer'"'
12
export extraTarget="publish-signed"
13
cat admin/gpg.sbt >> project/plugins.sbt
14
admin/decrypt.sh sensitive.sbt
15
(cd admin/ && ./decrypt.sh secring.asc)
16
fi
17
-sbt ++$TRAVIS_SCALA_VERSION $publishVersion clean update compile test $extraTarget
18
+sbt ++$TRAVIS_SCALA_VERSION "$publishVersion" clean update compile test $extraTarget
0 commit comments