Skip to content

Commit

Permalink
Set mimaPreviousArtifacts.value to last "major" release
Browse files Browse the repository at this point in the history
Do not skip patch releases
  • Loading branch information
mkurz committed Nov 1, 2023
1 parent d0ec078 commit 15dd650
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ Global / onLoad := (Global / onLoad).value.andThen { s =>
s
}

val previousVersion: Option[String] = Some("7.0.0-RC2")

lazy val mimaSettings = Seq(
mimaPreviousArtifacts :=
Set(
organization.value %% name.value % previousStableVersion.value.getOrElse(
throw new Error("Unable to determine previous version")
)
),
mimaPreviousArtifacts := previousVersion.map(organization.value %% moduleName.value % _).toSet,
mimaBinaryIssueFilters ++= Seq(
)
)
Expand Down

0 comments on commit 15dd650

Please sign in to comment.