File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,23 @@ set -e
1414# can be released using that new Scala version by creating a new tag containing the Scala version
1515# after a hash, e.g., v1.2.3#2.13.0-M3.
1616
17- # For normal tags that are cross-built, we release on JDK 8 for Scala 2.x
17+ # For normal tags that are cross-built, we release on JDK 8 for Scala 2.x and Dotty 0.x
1818isReleaseJob () {
1919 if [[ " $ADOPTOPENJDK " == " 8" && " $TRAVIS_SCALA_VERSION " =~ ^2\. 1[234]\. .* $ ]]; then
2020 true
21+ elif [[ " $ADOPTOPENJDK " == " 8" && " $TRAVIS_SCALA_VERSION " =~ ^0\. [0-9]+\. .* $ ]]; then
22+ true
2123 else
2224 false
2325 fi
2426}
2527
26- # For tags that define a Scala version, we pick the jobs of one Scala version (2.13.x) to do the releases
28+ # For tags that define a Scala version, we pick the jobs of a Scala version (2.13.x) or Dotty (0 .x) to do the releases
2729isTagScalaReleaseJob () {
2830 if [[ " $ADOPTOPENJDK " == " 8" && " $TRAVIS_SCALA_VERSION " =~ ^2\. 13\. [0-9]+$ ]]; then
2931 true
32+ elif [[ " $ADOPTOPENJDK " == " 8" && " $TRAVIS_SCALA_VERSION " =~ ^0\. [0-9]+\. .* $ ]]; then
33+ true
3034 else
3135 false
3236 fi
You can’t perform that action at this time.
0 commit comments