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 d0eb634 commit 9f79993
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("8.0.0-M1")

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 9f79993

Please sign in to comment.