Skip to content

Commit

Permalink
Disable mima check for new minor releases (#1384)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvanoosten authored Nov 13, 2024
1 parent ae4fd29 commit d5d8ccd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ lazy val binCompatVersionToCompare =
.map(_.strip())
// Only continue when we're building from a release tag
.filter(_.matches("v[0-9]+\\.[0-9]+\\.[0-9]+"))
// Do not continue when this is a new minor version (when patch version is set to "0")
.filterNot(_.endsWith(".0"))
.map { tag =>
// Remove `v` and set patch version to `0`
val compatVersion = tag.stripPrefix("v").split('.').take(2).mkString(".") + ".0"
Expand Down

0 comments on commit d5d8ccd

Please sign in to comment.