Skip to content

Commit

Permalink
Downgrade referenceVersion to 3.6.0 and add notes how referenceVersio…
Browse files Browse the repository at this point in the history
…n should be set (#21813)

The main branch should always use a compiler with experimental tasty -
it's required for non_boostrapped tests to pass. It's required because
we cannot consume stable version of tasty from it's experimental
subversion (it's assumed that stable version > experimental version for
the same major/minor pair)

We pick 3.6.0 (released by mistake during 3.6.0-RC1) because that's the
last non-stable version pushed to Maven. Typically we would use the last
RC version

[test_non_bootstrapped]
  • Loading branch information
WojciechMazur authored Oct 19, 2024
1 parent bcbdb5e commit 40956e1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,13 @@ object DottyJSPlugin extends AutoPlugin {
object Build {
import ScaladocConfigs._

val referenceVersion = "3.6.1"
/** Version of the Scala compiler used to build the artifacts.
* Reference version should track the latest version pushed to Maven:
* - In main branch it should be the last RC version (using experimental TASTy required for non-bootstrapped tests)
* - In release branch it should be the last stable release
* 3.6.0-RC1 was released as 3.6.0 - it's having and experimental TASTy version
*/
val referenceVersion = "3.6.0"

val baseVersion = "3.6.2"
// Will be required by some automation later
Expand Down

0 comments on commit 40956e1

Please sign in to comment.