Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Commit 7e74fc4

Browse files
committed
included pre-release if-brunch
1 parent 1fc0aaf commit 7e74fc4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/travis.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "develop" ]
1515
echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']'
1616
export ORG_GRADLE_PROJECT_releaseType=snapshot
1717
./gradlew -PversionSufix=".BUILD-SNAPSHOT" clean build artifactoryPublish --stacktrace
18+
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [[ "$TRAVIS_BRANCH" == release/* ]] && [ "$TRAVIS_TAG" == "" ]; then
19+
# Release Branch
20+
echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH']'
21+
./gradlew -PversionSuffix="-RC" clean build artifactoryPublish --stacktrace
1822
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
1923
# Master Branch
2024
echo -e 'Build Master for Release => Branch ['$TRAVIS_BRANCH']'

0 commit comments

Comments
 (0)