Skip to content

Commit 41350c8

Browse files
Publish plugin for all compiler versions
1 parent aa64cc5 commit 41350c8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ lazy val root = project
8080
commands += Command.command("ci-release") { state =>
8181
val extracted = Project.extract(state)
8282
val tags = extracted.get(git.gitCurrentTags)
83-
val cmd = if (tags.nonEmpty) "publishSigned ; sonaRelease" else "publishSigned"
83+
val cmd = if (tags.nonEmpty) "+publishSigned ; sonaRelease" else "+publishSigned"
8484
cmd :: state
8585
}
8686
)
@@ -91,8 +91,8 @@ lazy val compat = project
9191
.settings(publishSettings)
9292
.settings(
9393
name := "newtype-compat",
94-
crossScalaVersions := scala2_13 +: scala3Versions,
95-
scalaVersion := scala3Latest,
94+
crossScalaVersions := Seq(scala2_13, scala3Versions.head),
95+
scalaVersion := scala3Versions.head,
9696
// Empty artifact — no source files, just brings in the dependency
9797
Compile / sources := Seq.empty,
9898
// Always depend on the 2.13 artifact (Scala 3 can consume 2.13 jars)

0 commit comments

Comments
 (0)