Skip to content

Commit

Permalink
Move sonatypeBundleClean step to before publishSigned
Browse files Browse the repository at this point in the history
This command was causing releases to fail.
  • Loading branch information
Olafur Pall Geirsson committed Feb 8, 2020
1 parent 132b1b3 commit 5f0ca45
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions plugin/src/main/scala/com/geirsson/CiReleasePlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,9 @@ object CiReleasePlugin extends AutoPlugin {
} else {
println("Tag push detected, publishing a stable release")
reloadKeyFiles ::
sys.env.getOrElse("CI_CLEAN", "clean") ::
sys.env.getOrElse("CI_CLEAN", "; clean ; sonatypeBundleClean") ::
sys.env.getOrElse("CI_RELEASE", "+publishSigned") ::
sys.env.getOrElse(
"CI_SONATYPE_RELEASE",
"; sonatypeBundleClean ; sonatypeBundleRelease"
) ::
sys.env.getOrElse("CI_SONATYPE_RELEASE", "sonatypeBundleRelease") ::
currentState
}
}
Expand Down

0 comments on commit 5f0ca45

Please sign in to comment.