Skip to content

Commit 31e0f8c

Browse files
committed
chore: only deply release on branch 'release'
1 parent cede74c commit 31e0f8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis_core.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ then
1313
fi
1414
cd ..
1515

16-
# automatic deployment to tdurieux's repo
17-
if [[ $TRAVIS_BRANCH == "master" ]]; then
16+
# automatic deployment to tdurieux's repo if pushed on branch "release"
17+
if [[ $TRAVIS_BRANCH == "release" ]]; then
1818
cd nopol;
1919
mvn versions:set -DnewVersion=`git rev-parse HEAD`
2020
mvn deploy --settings ../.travis-settings.xml -DskipTests=true -B;

0 commit comments

Comments
 (0)