File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 24
24
# SONA_PASS
25
25
- secure : " Xw7rI/qlML1nD2e2XwlakkhKAWNGZKqqE+Q3ntTvFpfHryl7KLCvVzJ4LIavnL6kGJaWOgy9vlSoEWn5g9nqHSfE31C/k5pY5nTMAKiwiJzfAS+r0asKXW2gmKhwtcTBkqyLVOZLCJSPVlFRQyfBJHY+Fs0L3KWcnMQgtBlyDhU="
26
26
matrix :
27
+ # The empty SCALAJS_VERSION will only compile for the JVM
27
28
- SCALAJS_VERSION=
28
29
- SCALAJS_VERSION=0.6.23
29
30
- SCALAJS_VERSION=1.0.0-M3
@@ -41,9 +42,6 @@ matrix:
41
42
42
43
script : admin/build.sh
43
44
44
- notifications :
45
-
46
-
47
45
before_cache :
48
46
- find $HOME/.sbt -name "*.lock" | xargs rm
49
47
- find $HOME/.ivy2/cache -name "ivydata-*.properties" | xargs rm
Original file line number Diff line number Diff line change 4
4
5
5
# Builds of tagged revisions are published to sonatype staging.
6
6
7
- # Travis runs a build on new revisions and on new tags, so a tagged revision is built twice .
7
+ # Travis runs a build on revisions, including on new tags.
8
8
# Builds for a tag have TRAVIS_TAG defined, which we use for identifying tagged builds.
9
9
# Checking the local git clone would not work because git on travis does not fetch tags.
10
10
16
16
# of the existing tag. Then a new tag can be created for that commit, e.g., `v1.2.3#2.13.0-M5`.
17
17
# Everything after the `#` in the tag name is ignored.
18
18
19
- if [[ " $TRAVIS_JDK_VERSION " == " openjdk6" && " $TRAVIS_SCALA_VERSION " =~ 2\. 11\. .* || " $TRAVIS_JDK_VERSION " == " oraclejdk8" && " $TRAVIS_SCALA_VERSION " =~ 2\. 1[23]\. .* ]]; then
19
+ if [[ " $TRAVIS_JDK_VERSION " == " openjdk6" && " $TRAVIS_SCALA_VERSION " =~ 2\. 11\. .* \
20
+ || " $TRAVIS_JDK_VERSION " == " oraclejdk8" && " $TRAVIS_SCALA_VERSION " =~ 2\. 1[23]\. .* ]]; then
20
21
RELEASE_COMBO=true;
21
22
fi
22
23
@@ -30,7 +31,9 @@ verPat="[0-9]+\.[0-9]+\.[0-9]+(-[A-Za-z0-9-]+)?"
30
31
tagPat=" ^v$verPat (#.*)?$"
31
32
32
33
if [[ " $TRAVIS_TAG " =~ $tagPat ]]; then
33
- tagVer=$( echo $TRAVIS_TAG | sed s/# .*// | sed s/^v//)
34
+ tagVer=${TRAVIS_TAG}
35
+ tagVer=${tagVer# v} # Remove `v` at beginning.
36
+ tagVer=${tagVer%%#* } # Remove anything after `#`.
34
37
publishVersion=' set every version := "' $tagVer ' "'
35
38
36
39
if [ " $RELEASE_COMBO " = " true" ]; then
You can’t perform that action at this time.
0 commit comments