Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
val previousVersion: Option[String] = Some("1.1.1")
val newScalaBinaryVersionsInThisRelease: Set[String] = Set("3")
val previousVersion: Option[String] = Some("1.2.0")
val newScalaBinaryVersionsInThisRelease: Set[String] = Set.empty

inThisBuild(Def.settings(
organization := "org.scala-js",
Expand Down Expand Up @@ -73,7 +73,6 @@ val commonSettings = Def.settings(
mimaFailOnNoPrevious := newScalaBinaryVersionsInThisRelease.isEmpty,
// MiMa auto-configuration
mimaPreviousArtifacts ++= {
val scalaV = scalaVersion.value
val scalaBinaryV = scalaBinaryVersion.value
val thisProjectID = projectID.value
previousVersion match {
Expand All @@ -83,16 +82,7 @@ val commonSettings = Def.settings(
// New in this release, no binary compatibility to comply to
Set.empty
case Some(prevVersion) =>
/* Filter out e:info.apiURL as it expects 1.1.1-SNAPSHOT, whereas the
* artifact we're looking for has 1.1.0 (for example).
*/
val prevExtraAttributes =
thisProjectID.extraAttributes.filterKeys(_ != "e:info.apiURL")
val prevProjectID =
(thisProjectID.organization % thisProjectID.name % prevVersion)
.cross(thisProjectID.crossVersion)
.extra(prevExtraAttributes.toSeq: _*)
Set(prevProjectID)
Set(thisProjectID.organization %% thisProjectID.name % prevVersion)
}
},
)
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.8.1")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.4")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.11.2")