File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
grails-core/src/test/groovy/grails/util Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ apply plugin: 'idea'
2222ext {
2323 bintrayPublish = false
2424 // Sets release version
25- // grailsVersion = '3.2.11.BUILD-SNAPSHOT'
26- grailsVersion = ' 3.2.10'
25+ grailsVersion = ' 3.2.11.BUILD-SNAPSHOT'
26+ // grailsVersion = '3.2.10'
2727 isBuildSnapshot = grailsVersion. endsWith(" .BUILD-SNAPSHOT" )
2828 isTravisBuild = System . getenv(). get(" TRAVIS" ) == ' true'
2929
Original file line number Diff line number Diff line change 2525public class GrailsUtilTests extends TestCase {
2626
2727 public void testGrailsVersion () {
28- // assertEquals("3.2.10 .BUILD-SNAPSHOT", GrailsUtil.getGrailsVersion());
29- assertEquals ("3.2.10" , GrailsUtil .getGrailsVersion ());
28+ assertEquals ("3.2.11 .BUILD-SNAPSHOT" , GrailsUtil .getGrailsVersion ());
29+ // assertEquals("3.2.10", GrailsUtil.getGrailsVersion());
3030 }
3131
3232 @ Override
Original file line number Diff line number Diff line change @@ -64,14 +64,14 @@ if [[ $TRAVIS_PULL_REQUEST == 'false' && $EXIT_STATUS -eq 0
6464
6565 if [[ $TRAVIS_TAG =~ ^v[[:digit:]] ]]; then
6666 ./gradlew -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=$?
67- ./gradlew closeAndPromoteRepository
67+ ./gradlew closeAndReleaseRepository
6868
6969 if [[ $EXIT_STATUS == 0 ]]; then
7070 ./gradlew --stop
7171 # wait 30 seconds to ensure the previous promotion completes
7272 sleep 30
7373 ./gradlew -Psigning.keyId=" $SIGNING_KEY " -Psigning.password=" $SIGNING_PASSPHRASE " -Psigning.secretKeyRingFile=" ${TRAVIS_BUILD_DIR} /secring.gpg" grails-dependencies:uploadArchives grails-bom:uploadArchives || EXIT_STATUS=$?
74- ./gradlew closeAndPromoteRepository
74+ ./gradlew closeAndReleaseRepository
7575 fi
7676
7777 if [[ $EXIT_STATUS == 0 ]]; then
You can’t perform that action at this time.
0 commit comments