Skip to content

Commit

Permalink
ci fix to support tags
Browse files Browse the repository at this point in the history
  • Loading branch information
applariatw3 authored Aug 15, 2017
1 parent 3f159e8 commit 518a7d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ echo "JOB_BRANCH: $JOB_BRANCH"
echo "JOB_TAG: $JOB_TAG"
echo "JOB_COMMIT: $JOB_COMMIT"

if [[ ${JOB_BRANCH} != "develop" ]]; then
if [[ ${JOB_BRANCH} != "develop" ]] && [ -z ${JOB_TAG} ]; then
echo
echo "Only deploying to appLariat on commits to develop, exiting"
echo "Only deploying to appLariat when tagged or on commits to develop, exiting"
exit
fi

Expand Down

0 comments on commit 518a7d6

Please sign in to comment.