Skip to content

Commit

Permalink
Don't use sonatypeOpen, it doesn't seem to work as expected still
Browse files Browse the repository at this point in the history
  • Loading branch information
olafurpg committed Aug 2, 2018
1 parent d96cda6 commit d6d5c23
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugin/src/main/scala/com/geirsson/CiReleasePlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ object CiReleasePlugin extends AutoPlugin {
println("No access to secret variables, doing nothing")
currentState
} else {
val tag = sys.env("TRAVIS_TAG").trim
println(
s"Running ci-release.\n" +
s" TRAVIS_SECURE_ENV_VARS=${sys.env("TRAVIS_SECURE_ENV_VARS")}\n" +
s" TRAVIS_BRANCH=${sys.env("TRAVIS_BRANCH")}\n" +
s" TRAVIS_TAG=${tag}"
s" TRAVIS_TAG=${sys.env("TRAVIS_TAG")}"
)
setupGpg()
if (!isTravisTag) {
Expand All @@ -64,8 +63,7 @@ object CiReleasePlugin extends AutoPlugin {
}
} else {
println("Tag push detected, publishing a stable release")
s"sonatypeOpen $tag" ::
sys.env.getOrElse("CI_RELEASE", "+publishSigned") ::
sys.env.getOrElse("CI_RELEASE", "+publishSigned") ::
s"sonatypeRelease" ::
currentState
}
Expand Down

0 comments on commit d6d5c23

Please sign in to comment.