Skip to content

Commit 809f6f3

Browse files
authored
Merge pull request #150 from MasseGuillaume/fix-release-take2
Set publishTo for scalafix-rules and don't publish twice
2 parents 54ec1a6 + 1116e2e commit 809f6f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ lazy val `scalafix-rules` = project
138138
.in(file("scalafix/rules"))
139139
.settings(
140140
organization := (organization in compat212JVM).value,
141+
publishTo := (publishTo in compat212JVM).value,
141142
version := (version in compat212JVM).value,
142143
name := "scala-collection-migrations",
143144
scalaVersion := scalafixScala212,
@@ -353,7 +354,7 @@ inThisBuild(
353354
releaseVersion.map("set every version := \"" + _ + "\"").toList
354355

355356
val publishTask =
356-
if (releaseVersion.nonEmpty) {
357+
if (releaseVersion.nonEmpty && !isBinaryCompat) {
357358
List(
358359
preRelease,
359360
s"$projectPrefix/publish-signed"

0 commit comments

Comments
 (0)