Skip to content

Commit 36ac321

Browse files
committed
I typoed the publish backwards
1 parent 819f5b7 commit 36ac321

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plugin/src/main/scala/com/geirsson/CiReleasePlugin.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ object CiReleasePlugin extends AutoPlugin {
191191
println(s"No tag push, publishing SNAPSHOT")
192192
reloadKeyFiles ::
193193
sys.env.getOrElse("CI_CLEAN", "; clean") ::
194-
publishCommand ::
194+
// workaround for *.asc.sha1 not being allowed
195+
"publish" ::
195196
sys.env.getOrElse("CI_SNAPSHOT_RELEASE", "version") ::
196197
currentState
197198
} else {
@@ -206,8 +207,7 @@ object CiReleasePlugin extends AutoPlugin {
206207
println("Tag push detected, publishing a stable release")
207208
reloadKeyFiles ::
208209
sys.env.getOrElse("CI_CLEAN", "; clean") ::
209-
// workaround for *.asc.sha1 not being allowed
210-
"publish" ::
210+
publishCommand ::
211211
sys.env.getOrElse("CI_SONATYPE_RELEASE", "sonaRelease") ::
212212
currentState
213213
}

0 commit comments

Comments
 (0)