diff --git a/build.sbt b/build.sbt index 368a8fe..4b146d3 100644 --- a/build.sbt +++ b/build.sbt @@ -1,5 +1,7 @@ import com.typesafe.tools.mima.core.ProblemFilters import com.typesafe.tools.mima.core.* +import org.typelevel.sbt.gha.RefPredicate +import org.typelevel.sbt.gha.Ref import org.scalafmt.sbt.ScalafmtPlugin.{globalInstance => Scalafmt} Global / onChangedBuildSource := ReloadOnSourceChanges @@ -45,11 +47,12 @@ inThisBuild( tlGitHubDev("zainab-ali", "Zainab Ali") ), githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17")), - tlBaseVersion := "0.0", - tlFatalWarnings := sys.env.get("GITHUB_ACTIONS").contains("true"), - tlJdkRelease := Some(17), - organizationName := "SiriusXM", - startYear := Some(2024), + githubWorkflowPublishTargetBranches += RefPredicate.Equals(Ref.Branch("fix-publishing")), + tlBaseVersion := "0.0", + tlFatalWarnings := sys.env.get("GITHUB_ACTIONS").contains("true"), + tlJdkRelease := Some(17), + organizationName := "SiriusXM", + startYear := Some(2024), licenses += ("Apache-2.0", new URL("https://www.apache.org/licenses/LICENSE-2.0.txt")) ) ) diff --git a/project/plugins.sbt b/project/plugins.sbt index 7008791..bd6444a 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -11,6 +11,7 @@ addSbtPlugin("org.typelevel" % "sbt-typelevel-scalafix" % "0.7.1") addSbtPlugin("org.typelevel" % "sbt-typelevel-settings" % "0.7.1") addSbtPlugin("org.typelevel" % "sbt-typelevel-github" % "0.7.1") addSbtPlugin("org.typelevel" % "sbt-typelevel-github-actions" % "0.7.1") +addSbtPlugin("org.typelevel" % "sbt-typelevel-ci-release" % "0.7.1") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.12.0") addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.10.0") addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")