Skip to content

Commit 0d4a1e2

Browse files
committed
fix: no longer special case 3.1.3
Now that Dotty is back on track publishing the correctly nightlies we can switch the logic that grabs the scala version to go back to just grepping all the nightlies and getting the latest.
1 parent a96572f commit 0d4a1e2

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
*NOTE*: This file is auto-generated, so please don't edit manually. See the [CONTRIBUTING guide](CONTRIBUTING.md) to see how to update it.
44

5-
*Generated with Scala 3.1.3-RC2*
5+
*Generated with Scala 3.2.0-RC1-bin-20220412-1503044-NIGHTLY*
66

77
## E000 EmptyCatchOrFinallyBlockID
88
**NOTE:** This error is no longer emitted by the compiler.

bin/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source bin/colors.sh
44

55
TARGET_FILES=$(ls examples/*.scala)
66
OUTPUT=README.md
7-
SCALA_VERSION=$(cs complete-dep org.scala-lang:scala3-compiler_3: | grep 3.1.3 | tail -1)
7+
SCALA_VERSION=$(cs complete-dep org.scala-lang:scala3-compiler_3: | grep NIGHTLY | tail -1)
88

99
rm -f -- $OUTPUT
1010

bin/checker.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22

33
source bin/colors.sh
44

5-
# Nightlies were published wrong so there are some 3.2.0 that are incorrect for so for now
6-
# we can't do the below, but after the next release we should be able to so for now we look
7-
# only for the 3.1.3 ones
8-
#SCALA_VERSION=$(cs complete-dep org.scala-lang:scala3-compiler_3: | grep NIGHTLY | tail -1)
9-
SCALA_VERSION=$(cs complete-dep org.scala-lang:scala3-compiler_3: | grep 3.1.3 | tail -1)
5+
SCALA_VERSION=$(cs complete-dep org.scala-lang:scala3-compiler_3: | grep NIGHTLY | tail -1)
106
TARGET_FILES=$(ls examples/*.scala)
117
COMMAND="$1"
128
ERROR_MESSAGE_ID="$2"

0 commit comments

Comments
 (0)