Skip to content

Commit 952cf7a

Browse files
committed
Set RELEASE_COMBO in the build script
1 parent 482e50c commit 952cf7a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: .travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ matrix:
3737
- scala: 2.13.0-M3
3838
jdk: openjdk6
3939

40-
script:
41-
- if [[ "$TRAVIS_JDK_VERSION" == "openjdk6" && "$TRAVIS_SCALA_VERSION" =~ 2\.11\..* || "$TRAVIS_JDK_VERSION" == "oraclejdk8" && "$TRAVIS_SCALA_VERSION" =~ 2\.1[23]\..* ]]; then export RELEASE_COMBO=true; fi
42-
- admin/build.sh
40+
script: admin/build.sh
4341

4442
notifications:
4543

Diff for: admin/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ env:
3939
# SONA_PASS
4040
- secure: "XXXXXX"
4141
42-
script:
43-
- if [[ "$TRAVIS_JDK_VERSION" == "openjdk6" && "$TRAVIS_SCALA_VERSION" =~ 2\.11\..* || "$TRAVIS_JDK_VERSION" == "oraclejdk8" && "$TRAVIS_SCALA_VERSION" =~ 2\.1[23]\..* ]]; then export RELEASE_COMBO=true; fi
44-
- admin/build.sh
42+
script: admin/build.sh
4543
4644
notifications:
4745
email:

Diff for: admin/build.sh

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ set -e
1616
# of the existing tag. Then a new tag can be created for that commit, e.g., `v1.2.3#2.13.0-M5`.
1717
# Everything after the `#` in the tag name is ignored.
1818

19+
if [[ "$TRAVIS_JDK_VERSION" == "openjdk6" && "$TRAVIS_SCALA_VERSION" =~ 2\.11\..* || "$TRAVIS_JDK_VERSION" == "oraclejdk8" && "$TRAVIS_SCALA_VERSION" =~ 2\.1[23]\..* ]]; then
20+
RELEASE_COMBO=true;
21+
fi
22+
1923
if [ "$SCALAJS_VERSION" = "" ]; then
2024
projectPrefix="xml"
2125
else

0 commit comments

Comments
 (0)