Skip to content

Commit 1bc01ad

Browse files
committed
Release Grails 3.0.12
1 parent 4aa4705 commit 1bc01ad

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
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.0.12.BUILD-SNAPSHOT'
24+
grailsVersion = '3.0.12'
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.0.12.BUILD-SNAPSHOT", GrailsUtil.getGrailsVersion());
38+
assertEquals("3.0.12", GrailsUtil.getGrailsVersion());
3939
}
4040

4141
@Override

travis-build.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,18 @@ if [[ $TRAVIS_PULL_REQUEST == 'false' && $EXIT_STATUS -eq 0
5454
echo "Running Gradle publish for branch $TRAVIS_BRANCH"
5555

5656
if [[ $TRAVIS_TAG =~ ^v[[:digit:]] ]]; then
57-
./gradlew -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/secring.gpg" publish uploadArchives closeAndPromoteRepository || EXIT_STATUS=$?
58-
./gradlew assemble || EXIT_STATUS=$?
57+
./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=$?
58+
./gradlew closeAndPromoteRepository
59+
60+
if [[ $EXIT_STATUS == 0 ]]; then
61+
./gradlew --stop
62+
./gradlew -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/secring.gpg" grails-dependencies:uploadArchives grails-bom:uploadArchives || EXIT_STATUS=$?
63+
./gradlew closeAndPromoteRepository
64+
fi
65+
66+
if [[ $EXIT_STATUS == 0 ]]; then
67+
./gradlew assemble || EXIT_STATUS=$?
68+
fi
5969

6070
# Configure GIT
6171
git config --global user.name "$GIT_NAME"

0 commit comments

Comments
 (0)