Only execute before deploy one time

This commit is contained in:
Jannis Mattheis 2018-02-24 16:39:41 +01:00 committed by Jannis Mattheis
parent 222b7089a9
commit 76c7d3244d
1 changed files with 5 additions and 2 deletions

View File

@ -28,8 +28,11 @@ after_success:
- bash <(curl -s https://codecov.io/bash)
before_deploy:
- if [[ $TRAVIS_TAG != "v"* ]]; then exit 1; fi
- VERSION=$(echo $TRAVIS_TAG | cut -c 2-) make build-all
- >
if ! [ "$BEFORE_DEPLOY_RUN" ]; then
if [[ $TRAVIS_TAG != "v"* ]]; then exit 1; fi;
VERSION=$(echo $TRAVIS_TAG | cut -c 2-) make build-all;
fi
deploy:
- provider: releases