Skip to content

Commit 0c7ad1f

Browse files
author
Tim Etchells
committed
Travis - always deploy tags
1 parent a1b6d36 commit 0c7ad1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ env:
2323
if [[ "$rc" != "true" && "$TRAVIS_EVENT_TYPE" != "cron" && -z "$TRAVIS_TAG" ]]; then
2424
echo "$(basename $0): not a release or cronjob, skipping deploy"
2525
exit 0
26-
elif [[ "$TRAVIS_BRANCH" != "master" ]]; then
27-
echo "$(basename $0): not master branch, skipping deploy"
26+
elif [[ -z "$TRAVIS_TAG" && "$TRAVIS_BRANCH" != "master" ]]; then
27+
echo "$(basename $0): not a tag or master branch, skipping deploy"
2828
exit 0
2929
fi
3030

0 commit comments

Comments
 (0)