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/29 16:39:02 UTC

[GitHub] houshengbo closed pull request #835: Configure Travis in order to keep published artifacts with existing tag

houshengbo closed pull request #835: Configure Travis in order to keep published artifacts with existing tag
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/835
 
 
   

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 30338484..e8aedcd9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -56,6 +56,7 @@ after_success:
     git config --global user.name "Travis CI";
     export GIT_TAG="latest";
     git tag -d $GIT_TAG;
+    git push -q https://$API_KEY@github.com/apache/incubator-openwhisk-wskdeploy :refs/tags/$GIT_TAG;
     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-wskdeploy $GIT_TAG;
   fi
@@ -79,6 +80,9 @@ deploy:
     - release/${zip_file_name}-*.zip
   overwrite: true
   skip_cleanup: true
+  target_commitish: $TRAVIS_COMMIT
+  tag_name: $TRAVIS_TAG
+  name: $TRAVIS_TAG
   on:
     repo: apache/incubator-openwhisk-wskdeploy
     tags: 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