File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,10 @@ before_deploy:
8282 - echo "Deploying $RELEASE_PKG_FILE to GitHub releases."
8383 - export GIT_TAG="latest"
8484 - export TAG=false;
85+ - if [ ! -z "$TRAVIS_TAG" ] ; then
86+ export GIT_TAG=$TRAVIS_TAG;
87+ export TAG=true;
88+ fi
8589 # This tag is automatically generated for the latest merged commit in master branch.
8690 - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_EVENT_TYPE" == "push" ] && [ "$TRAVIS_OS_NAME" == "linux" ] ; then
8791 git config --global user.email "[email protected] "; @@ -92,10 +96,6 @@ before_deploy:
9296 GIT_COMMITTER_DATE="$(git show --format=%aD | head -1)" git tag $GIT_TAG -a -m "Generated tag from Travis CI build $TRAVIS_BUILD_NUMBER";
9397 git push -f -q https://[email protected] /apache/incubator-openwhisk-cli $GIT_TAG; 9498 fi
95- - if [ ! -z "$TRAVIS_TAG" ] ; then
96- export GIT_TAG=$TRAVIS_TAG;
97- export TAG=true;
98- fi
9999 - echo "The GIT_TAG of this Travis build is $GIT_TAG."
100100
101101deploy :
You can’t perform that action at this time.
0 commit comments