Skip to content

Commit 9b41c00

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: project/Build.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -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)