We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4315866 commit 7a77179Copy full SHA for 7a77179
project/Build.scala
@@ -171,9 +171,11 @@ object Build {
171
172
val dottyVersion = {
173
def isNightly = sys.env.get("NIGHTLYBUILD") == Some("yes")
174
- if (isRelease)
+ if (isRelease) {
175
+ val tag = sys.env.get("RELEASE_TAG")
176
+ assert(tag.contains(baseVersion), s"Expected RELEASE_TAG to contain ${baseVersion}, but it's ${tag.getOrElse("empty")}")
177
baseVersion
- else if (isNightly)
178
+ } else if (isNightly)
179
baseVersion + "-RC1-bin-" + VersionUtil.commitDate + "-" + VersionUtil.gitHash + "-NIGHTLY"
180
else
181
baseVersion + "-RC1-bin-SNAPSHOT"
0 commit comments