Skip to content

Commit

Permalink
Set baseVersion to 3.6.0 instead of 3.6.0-RC1 (#21011)
Browse files Browse the repository at this point in the history
In #20547, to be able to build an msi installer, the version needs to
have the following pattern `A.B.C.D`.
This change should be fine but the release procedure of RC1 will have to
take it into account.
  • Loading branch information
hamzaremmal authored Jul 11, 2024
2 parents 466676c + b62b53c commit 26a35cc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ object Build {

val referenceVersion = "3.4.2-RC1"

val baseVersion = "3.6.0-RC1"
val baseVersion = "3.6.0"
// Will be required by some automation later
val prereleaseVersion = s"$baseVersion-RC1"

// LTS or Next
val versionLine = "Next"
Expand Down Expand Up @@ -169,9 +171,9 @@ object Build {
if (isRelease)
baseVersion
else if (isNightly)
baseVersion + "-bin-" + VersionUtil.commitDate + "-" + VersionUtil.gitHash + "-NIGHTLY"
baseVersion + "-RC1-bin-" + VersionUtil.commitDate + "-" + VersionUtil.gitHash + "-NIGHTLY"
else
baseVersion + "-bin-SNAPSHOT"
baseVersion + "-RC1-bin-SNAPSHOT"
}
val dottyNonBootstrappedVersion = {
// Make sure sbt always computes the scalaBinaryVersion correctly
Expand Down

0 comments on commit 26a35cc

Please sign in to comment.