File tree Expand file tree Collapse file tree
plugin/src/main/scala/com/geirsson Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments