Skip to content

Commit b77d83f

Browse files
committed
Release 3.1.0
1 parent 5a83113 commit b77d83f

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ apply plugin: 'idea'
2121
ext {
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

grails-core/src/test/groovy/grails/util/GrailsUtilTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
public 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

travis-build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)