From 3e73459aca7e6aadae6bb1f9e2eedfb6dfbc254b Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Wed, 26 Jan 2022 02:30:56 +0000 Subject: [PATCH 1/2] Replace tlRelease aliases --- build.sbt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build.sbt b/build.sbt index 557f80351..74141fe6b 100644 --- a/build.sbt +++ b/build.sbt @@ -358,3 +358,16 @@ ThisBuild / githubWorkflowBuildPostamble ++= Seq( name = Some("Upload Codecov Results") ) ) + +def crossCommand(command: String) = + List(s"++$Scala212", s"root/$command", s"++$Scala213", s"root-spark32/$command") + +tlReplaceCommandAlias( + "tlReleaseLocal", + ("reload" :: crossCommand("publishLocal")).mkString("; ") +) + +tlReplaceCommandAlias( + "tlRelease", + ("reload" :: crossCommand("mimaReportBinaryIssues") ::: crossCommand("publish") ::: List("tlSonatypeBundleReleaseIfRelevant")).mkString("; ") +) From 64698754762f8475e676c7c5bcf27044bd1f7189 Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Wed, 26 Jan 2022 02:36:53 +0000 Subject: [PATCH 2/2] Re-enable mima for all artifacts --- build.sbt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build.sbt b/build.sbt index 74141fe6b..a92e734a1 100644 --- a/build.sbt +++ b/build.sbt @@ -187,7 +187,6 @@ lazy val datasetSettings = framelessSettings ++ framelessTypedDatasetREPL ++ Seq ) lazy val refinedSettings = framelessSettings ++ framelessTypedDatasetREPL ++ Seq( - mimaPreviousArtifacts := Set.empty, libraryDependencies += "eu.timepit" %% "refined" % refinedVersion ) @@ -253,11 +252,6 @@ lazy val framelessSettings = Seq( mimaPreviousArtifacts ~= { _.filterNot(_.revision == "0.11.0") // didn't release properly }, - mimaPreviousArtifacts := { - if (scalaBinaryVersion.value == "2.13") - Set.empty - else mimaPreviousArtifacts.value - }, ) ++ consoleSettings lazy val spark30Settings = Seq(