File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,18 @@ 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 () {
19- if [[ " $ADOPTOPENJDK " == " 8" && " $TRAVIS_SCALA_VERSION " =~ ^2\. 1[234]\. .* $ ]]; then
19+ if [[ " $ADOPTOPENJDK " == " 8" && " $TRAVIS_SCALA_VERSION " =~ ^2\. 1[234]\. .* $ && " $TRAVIS_SCALA_VERSION " =~ ^0 \. [0-9]+ \. . * $ ]]; then
2020 true
2121 else
2222 false
2323 fi
2424}
2525
26- # For tags that define a Scala version, we pick the jobs of one Scala version (2.13.x) to do the releases
26+ # 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
2727isTagScalaReleaseJob () {
28- if [[ " $ADOPTOPENJDK " == " 8" && " $TRAVIS_SCALA_VERSION " =~ ^2\. 13\. [0-9]+$ ]]; then
28+ if [[ " $ADOPTOPENJDK " == " 8" && " $TRAVIS_SCALA_VERSION " =~ ^2\. 13\. [0-9]+$ && " $TRAVIS_SCALA_VERSION " =~ ^0 \. [0-9]+ \. . * $ ]]; then
2929 true
3030 else
3131 false
You can’t perform that action at this time.
0 commit comments