Skip to content

Commit

Permalink
Merge branch '3.2.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
graemerocher committed May 30, 2017
2 parents 519d3c6 + b129d72 commit 22e1920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions travis-publish-archives.sh
Expand Up @@ -33,14 +33,14 @@ if [[ $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_REPO_SLUG == grails/grails-core
echo "Running Gradle publish for branch $TRAVIS_BRANCH"
./gradlew --stop
./gradlew --no-daemon -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/secring.gpg" publish uploadArchives -x grails-bom:uploadArchives -x grails-dependencies:uploadArchives || EXIT_STATUS=$?
./gradlew closeAndPromoteRepository
./gradlew closeAndReleaseRepository

if [[ $EXIT_STATUS == 0 ]]; then
./gradlew --stop
# wait 30 seconds to ensure the previous promotion completes
sleep 30
./gradlew --no-daemon -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/secring.gpg" grails-dependencies:uploadArchives grails-bom:uploadArchives || EXIT_STATUS=$?
./gradlew closeAndPromoteRepository
./gradlew closeAndReleaseRepository
fi

if [[ $EXIT_STATUS == 0 ]]; then
Expand Down

0 comments on commit 22e1920

Please sign in to comment.