Skip to content

Commit 85f9f0d

Browse files
committed
Adapt the compat regex to the new version pattern in baseVersion
1 parent 1913367 commit 85f9f0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project/Build.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ object Build {
9292

9393
val referenceVersion = "3.5.0"
9494

95-
val baseVersion = "3.6.0"
95+
val baseVersion = "3.6.1"
9696
// Will be required by some automation later
9797
val prereleaseVersion = s"$baseVersion-RC1"
9898

@@ -134,7 +134,7 @@ object Build {
134134
}
135135

136136
val compatMode = {
137-
val VersionRE = """^\d+\.(\d+).(\d+).*""".r
137+
val VersionRE = """^\d+\.(\d+).(\d+)""".r
138138
baseVersion match {
139139
case VersionRE(_, "0") => CompatMode.BinaryCompatible
140140
case _ => CompatMode.SourceAndBinaryCompatible

0 commit comments

Comments
 (0)