Set env variable to not execute build twice

This commit is contained in:
Jannis Mattheis 2018-02-28 20:47:34 +01:00
parent cb8fb2dfc2
commit 70b75d68e8
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ after_success:
before_deploy:
- >
if ! [ "$BEFORE_DEPLOY_RUN" ]; then
export BEFORE_DEPLOY_RUN=1;
if [[ $TRAVIS_TAG != "v"* ]]; then exit 1; fi;
VERSION=$(echo $TRAVIS_TAG | cut -c 2-) make build-all;
fi