Skip to content

Commit

Permalink
exclude failed release from mima
Browse files Browse the repository at this point in the history
  • Loading branch information
majk-p committed Aug 22, 2023
1 parent f34cd63 commit 1995c7b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ lazy val demo = module("demo")
)
.dependsOn(activemqPekko, sns, sqs, extra, logging)

// Those versions failed to release
val versionsExcludedFromMima = List("0.4.1", "0.4.3")

lazy val commonSettings = Seq(
organization := "com.ocadotechnology",
compilerOptions,
Expand All @@ -240,6 +243,10 @@ lazy val commonSettings = Seq(
"com.disneystreaming" %% "weaver-framework" % Versions.Weaver,
"com.disneystreaming" %% "weaver-scalacheck" % Versions.Weaver
).map(_ % Test),
mimaPreviousArtifacts := {
val artifacts = mimaPreviousArtifacts.value
artifacts.filterNot(artifact => versionsExcludedFromMima.contains(artifact.revision))
},
testFrameworks += new TestFramework("weaver.framework.CatsEffect")
)

Expand Down

0 comments on commit 1995c7b

Please sign in to comment.