Skip to content

Commit 13e77c7

Browse files
authored
Merge pull request #381 from sbt/wip/snapshot2
fix: Run +publish on SNAPSHOT
2 parents bc65ca6 + f6ab266 commit 13e77c7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ object CiReleasePlugin extends AutoPlugin {
192192
reloadKeyFiles ::
193193
sys.env.getOrElse("CI_CLEAN", "; clean") ::
194194
// workaround for *.asc.sha1 not being allowed
195-
"publish" ::
196-
sys.env.getOrElse("CI_SNAPSHOT_RELEASE", "version") ::
195+
sys.env.getOrElse("CI_SNAPSHOT_RELEASE", "+publish") ::
197196
currentState
198197
} else {
199198
// Happens when a tag is pushed right after merge causing the main branch

0 commit comments

Comments
 (0)