-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set baseVersion to 3.6.0 instead of 3.6.0-RC1 #21011
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -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" | ||||||
|
@@ -169,9 +171,9 @@ object Build { | |||||
if (isRelease) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should really be a new condition like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Something like 7a77179? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 7a77179 is just as a double guard for the CI. |
||||||
baseVersion | ||||||
else if (isNightly) | ||||||
baseVersion + "-bin-" + VersionUtil.commitDate + "-" + VersionUtil.gitHash + "-NIGHTLY" | ||||||
baseVersion + "-RC1-bin-" + VersionUtil.commitDate + "-" + VersionUtil.gitHash + "-NIGHTLY" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. idk if this makes more sense There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Kordyjan asked me to add this field for a future automation. I'm not sure what it is so I would rather not use it until then. To see if it makes sense to use it in a more general context. |
||||||
else | ||||||
baseVersion + "-bin-SNAPSHOT" | ||||||
baseVersion + "-RC1-bin-SNAPSHOT" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
} | ||||||
val dottyNonBootstrappedVersion = { | ||||||
// Make sure sbt always computes the scalaBinaryVersion correctly | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change would break our current versioning of nightlies, which are defined using pattern
<baseVersion>-bin-YYYYMMDD-<commitSHA>-NIGHTLY
In theory all nightlies are always
-RC1
so there should be no conflicts with this one.@Kordyjan any thoughts on that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can always add the
-RC1
at the beginning of the nightlies' pattern instead of relying on its presence inbaseVersion
if we must keep the same pattern :scala3/project/Build.scala
Line 172 in 010ed5a