You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by pd...@apache.org on 2018/08/17 20:27:12 UTC
[incubator-openwhisk-cli] branch master updated: Correct the build
tag for Travis (#358)
This is an automated email from the ASF dual-hosted git repository.
pdesai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-cli.git
The following commit(s) were added to refs/heads/master by this push:
new ef1839a Correct the build tag for Travis (#358)
ef1839a is described below
commit ef1839a56ff98b4e83c124568094546c2531a5fe
Author: Vincent <sh...@us.ibm.com>
AuthorDate: Fri Aug 17 16:27:10 2018 -0400
Correct the build tag for Travis (#358)
---
.travis.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index b3458d9..a07cf67 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -82,6 +82,10 @@ before_deploy:
- echo "Deploying $RELEASE_PKG_FILE to GitHub releases."
- export GIT_TAG="latest"
- export TAG=false;
+ - if [ ! -z "$TRAVIS_TAG" ] ; then
+ export GIT_TAG=$TRAVIS_TAG;
+ export TAG=true;
+ fi
# This tag is automatically generated for the latest merged commit in master branch.
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_EVENT_TYPE" == "push" ] && [ "$TRAVIS_OS_NAME" == "linux" ] ; then
git config --global user.email "builds@travis-ci.com";
@@ -92,10 +96,6 @@ before_deploy:
GIT_COMMITTER_DATE="$(git show --format=%aD | head -1)" git tag $GIT_TAG -a -m "Generated tag from Travis CI build $TRAVIS_BUILD_NUMBER";
git push -f -q https://$API_KEY@github.com/apache/incubator-openwhisk-cli $GIT_TAG;
fi
- - if [ ! -z "$TRAVIS_TAG" ] ; then
- export GIT_TAG=$TRAVIS_TAG;
- export TAG=true;
- fi
- echo "The GIT_TAG of this Travis build is $GIT_TAG."
deploy: