Skip to content

Commit 5a8a3ba

Browse files
committed
Don't set scalaVersion in build script
1 parent 41b8d93 commit 5a8a3ba

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ if [[ "$TRAVIS_TAG" =~ $tagPat ]]; then
6868
exit 0
6969
fi
7070
else
71-
if isTagScalaReleaseJob; then
72-
setTagScalaVersion='set every scalaVersion := "'$tagScalaVer'"'
73-
else
71+
if ! isTagScalaReleaseJob; then
7472
echo "The releases for Scala $tagScalaVer are built by other jobs in the travis job matrix"
7573
exit 0
7674
fi
@@ -86,4 +84,4 @@ export CI_SNAPSHOT_RELEASE="$projectPrefix/publish"
8684
# for now, until we're confident in the new release scripts, just close the staging repo.
8785
export CI_SONATYPE_RELEASE="; sonatypePrepare; sonatypeBundleUpload; sonatypeClose"
8886
89-
sbt "$setTagScalaVersion" clean $projectPrefix/test $projectPrefix/publishLocal $releaseTask
87+
sbt clean $projectPrefix/test $projectPrefix/publishLocal $releaseTask

0 commit comments

Comments
 (0)