Skip to content

Commit 63c1f86

Browse files
committed
Add a workaround for MiMa bootstrap
1 parent cae922d commit 63c1f86

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build.sbt

+7-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ lazy val commonSettings = Seq(
1414
|See the NOTICE file distributed with this work for
1515
|additional information regarding copyright ownership.
1616
|""".stripMargin)),
17-
scalaModuleMimaPreviousVersion := Some("2.1.3")
17+
scalaModuleMimaPreviousVersion := {
18+
// We need to create a release version first to use MiMa
19+
if(sys.env.get("SCALAJS_VERSION").exists(_.startsWith("1.0.0")))
20+
None
21+
else
22+
Some("2.1.3")
23+
}
1824
)
1925

2026
lazy val root = project

0 commit comments

Comments
 (0)