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/03/30 21:05:52 UTC

[incubator-openwhisk-wskdeploy] branch master updated: Add the releases based on tag (#840)

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-wskdeploy.git


The following commit(s) were added to refs/heads/master by this push:
     new 4eaa07d  Add the releases based on tag (#840)
4eaa07d is described below

commit 4eaa07dc68a6f5f52683b402ad4f932d0b9ba751
Author: Vincent <sh...@us.ibm.com>
AuthorDate: Fri Mar 30 17:05:50 2018 -0400

    Add the releases based on tag (#840)
---
 .travis.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index d5f60b9..08ff498 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

-- 
To stop receiving notification emails like this one, please contact
pdesai@apache.org.