Skip to content

Commit

Permalink
Adapt the compat regex to the new version pattern in baseVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzaremmal committed Aug 13, 2024
1 parent 1913367 commit 9b41c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ object Build {
}

val compatMode = {
val VersionRE = """^\d+\.(\d+).(\d+).*""".r
val VersionRE = """^\d+\.(\d+).(\d+)""".r
baseVersion match {
case VersionRE(_, "0") => CompatMode.BinaryCompatible
case _ => CompatMode.SourceAndBinaryCompatible
Expand Down

0 comments on commit 9b41c00

Please sign in to comment.