File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,22 @@ echo "Project Version: '$grailsVersion'"
88
99EXIT_STATUS=0
1010./gradlew --stop
11- echo " org.gradle.daemon=false" >> ~ /.gradle/gradle.properties
12- echo " Executing tests"
13- ./gradlew --no-daemon --stacktrace test || EXIT_STATUS=$?
14- echo " Done."
15- if [[ $EXIT_STATUS == 0 ]]; then
16- echo " Executing integration tests"
17- ./gradlew --no-daemon --stacktrace --info integrationTest < /dev/null || EXIT_STATUS=$?
18- echo " Done."
11+
12+ if [[ $TRAVIS_TAG =~ ^v[[:digit:]] ]]; then
13+ echo " Tagged Release Skipping Tests for Publish"
14+ else
15+ echo " org.gradle.daemon=false" >> ~ /.gradle/gradle.properties
16+ echo " Executing tests"
17+ ./gradlew --no-daemon --stacktrace test || EXIT_STATUS=$?
18+ echo " Done."
19+ if [[ $EXIT_STATUS == 0 ]]; then
20+ echo " Executing integration tests"
21+ ./gradlew --no-daemon --stacktrace --info integrationTest < /dev/null || EXIT_STATUS=$?
22+ echo " Done."
23+ fi
1924fi
2025
26+
2127if [[ $TRAVIS_PULL_REQUEST == ' false' && $EXIT_STATUS -eq 0 ]]; then
2228
2329 echo " Publishing archives"
You can’t perform that action at this time.
0 commit comments