You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/03/30 21:05:51 UTC
[GitHub] pritidesai closed pull request #840: Add the releases based on tag
pritidesai closed pull request #840: Add the releases based on tag
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/840
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/.travis.yml b/.travis.yml
index d5f60b92..08ff4988 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -61,6 +61,7 @@ before_deploy:
- export RELEASE_PKG_FILE="$(cd "$TRAVIS_BUILD_DIR/release" && ls ${zip_file_name}-*.tgz ${zip_file_name}-*.zip)"
- echo "Deploying $RELEASE_PKG_FILE to GitHub releases."
- export GIT_TAG="latest"
+- export TAG=false
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_EVENT_TYPE" == "push" ] && [ "$TRAVIS_OS_NAME" == "linux" ] ; then
git config --global user.email "builds@travis-ci.com";
git config --global user.name "Travis CI";
@@ -71,6 +72,7 @@ before_deploy:
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."
@@ -88,6 +90,7 @@ deploy:
tag_name: $GIT_TAG
on:
repo: apache/incubator-openwhisk-wskdeploy
+ tags: $TAG
condition: "$DEPLOY_BUILD_READY = true"
- provider: script
skip_cleanup: true
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services