From dcf2542c4478786b8650d47d2c03cda0fe69ed23 Mon Sep 17 00:00:00 2001 From: caylaa Date: Mon, 4 Jun 2018 11:53:15 +0100 Subject: [PATCH] Make sure that artifacts are published to staging before proceeding --- .travis.yml | 2 +- build.sbt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 22c8055..4d9b941 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ jobs: - git config user.name "Travis CI on behalf of Wellcome" - git config user.email "wellcomedigitalplatform@wellcome.ac.uk" - git config core.sshCommand "ssh -i ssh-key/id_rsa" - - git remote add ssh-origin "git@github.com:wellcometrust/sierra-streams-source.git" + - git remote set-url origin "git@github.com:wellcometrust/sierra-streams-source.git" - sbt ++$TRAVIS_SCALA_VERSION release; stages: diff --git a/build.sbt b/build.sbt index afd0218..adb26b9 100644 --- a/build.sbt +++ b/build.sbt @@ -97,7 +97,7 @@ releaseProcess := Seq( checkSnapshotDependencies, setReleaseVersion, tagRelease, - releaseStepCommand("+publishSigned"), + releaseStepCommandAndRemaining("+publishSigned"), releaseStepCommand("sonatypeReleaseAll"), - releaseStepCommand(s"git push ssh-origin --tags") + releaseStepCommand(s"git push origin --tags") ) \ No newline at end of file