From 8bbd83200aa2485e28456d59da1c28a99a4dae8c Mon Sep 17 00:00:00 2001 From: wildone Date: Fri, 2 Aug 2019 00:42:14 +1000 Subject: [PATCH] update tag trigger on master --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ed1494b..1cc0445 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,7 +38,7 @@ before_deploy: - export CURRENT_VERSION=$(git describe --tag --always --long | sed -e 's/\(.*\)-\(.*\)-.*/\1.\2/') - echo CURRENT_VERSION=$CURRENT_VERSION - export TRAVIS_TAG=$CURRENT_VERSION - - if [[ $TRAVIS_BRANCH != "master" ]]; then git tag $TRAVIS_TAG; fi + - if [[ $TRAVIS_BRANCH == "master" ]]; then git tag $TRAVIS_TAG; fi ## Create release in GitHub deploy: