File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
grails-core/src/test/groovy/grails/util Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ apply plugin: 'idea'
2121ext {
2222 bintrayPublish = false
2323 // Sets release version
24- grailsVersion = ' 3.1.0.BUILD-SNAPSHOT '
24+ grailsVersion = ' 3.1.0'
2525 isBuildSnapshot = grailsVersion. endsWith(" .BUILD-SNAPSHOT" )
2626 isTravisBuild = System . getenv(). get(" TRAVIS" ) == ' true'
2727
Original file line number Diff line number Diff line change 3535public class GrailsUtilTests extends TestCase {
3636
3737 public void testGrailsVersion () {
38- assertEquals ("3.1.0.BUILD-SNAPSHOT " , GrailsUtil .getGrailsVersion ());
38+ assertEquals ("3.1.0" , GrailsUtil .getGrailsVersion ());
3939 }
4040
4141 @ Override
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ if [[ $TRAVIS_PULL_REQUEST == 'false' && $EXIT_STATUS -eq 0
6363
6464 if [[ $EXIT_STATUS == 0 ]]; then
6565 ./gradlew --stop
66+ # wait 30 seconds to ensure the previous promotion completes
67+ sleep 30
6668 ./gradlew -Psigning.keyId=" $SIGNING_KEY " -Psigning.password=" $SIGNING_PASSPHRASE " -Psigning.secretKeyRingFile=" ${TRAVIS_BUILD_DIR} /secring.gpg" grails-dependencies:uploadArchives grails-bom:uploadArchives || EXIT_STATUS=$?
6769 ./gradlew closeAndPromoteRepository
6870 fi
You can’t perform that action at this time.
0 commit comments