File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -46,20 +46,20 @@ if [[ $TRAVIS_PULL_REQUEST == 'false'
4646 echo " Running Gradle publish for branch $TRAVIS_BRANCH "
4747
4848 if [[ $TRAVIS_TAG =~ ^v[[:digit:]] ]]; then
49- ./gradlew -Psigning.keyId=" $SIGNING_KEY " -Psigning.password=" $SIGNING_PASSPHRASE " -Psigning.secretKeyRingFile=" ${TRAVIS_BUILD_DIR} /secring.gpg" uploadArchives -x grails-bom:uploadArchives -x grails-dependencies:uploadArchives || EXIT_STATUS=$?
50- ./gradlew closeAndPromoteRepository
51-
52- if [[ $EXIT_STATUS == 0 ]]; then
53- ./gradlew --stop
54- # wait 30 seconds to ensure the previous promotion completes
55- sleep 30
56- ./gradlew -Psigning.keyId=" $SIGNING_KEY " -Psigning.password=" $SIGNING_PASSPHRASE " -Psigning.secretKeyRingFile=" ${TRAVIS_BUILD_DIR} /secring.gpg" grails-dependencies:uploadArchives grails-bom:uploadArchives || EXIT_STATUS=$?
57- ./gradlew closeAndPromoteRepository
58- fi
59-
60- if [[ $EXIT_STATUS == 0 ]]; then
49+ # ./gradlew -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/secring.gpg" uploadArchives -x grails-bom:uploadArchives -x grails-dependencies:uploadArchives || EXIT_STATUS=$?
50+ # ./gradlew closeAndPromoteRepository
51+
52+ # if [[ $EXIT_STATUS == 0 ]]; then
53+ # ./gradlew --stop
54+ # # wait 30 seconds to ensure the previous promotion completes
55+ # sleep 30
56+ # ./gradlew -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/secring.gpg" grails-dependencies:uploadArchives grails-bom:uploadArchives || EXIT_STATUS=$?
57+ # ./gradlew closeAndPromoteRepository
58+ # fi
59+
60+ # if [[ $EXIT_STATUS == 0 ]]; then
6161 ./gradlew assemble || EXIT_STATUS=$?
62- fi
62+ # fi
6363
6464 # Configure GIT
6565 # git config --global credential.helper "store --file=~/.git-credentials"
You can’t perform that action at this time.
0 commit comments