openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dube...@apache.org
Subject [incubator-openwhisk-cli] branch master updated: Update the commit time for the the tag "latest" (#255)
Date Fri, 23 Mar 2018 18:51:14 GMT
This is an automated email from the ASF dual-hosted git repository.

dubeejw 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 3e4daed  Update the commit time for the the tag "latest" (#255)
3e4daed is described below

commit 3e4daed729d714deddc88397ef5dfdd615fade3e
Author: Vincent <shou@us.ibm.com>
AuthorDate: Fri Mar 23 14:51:12 2018 -0400

    Update the commit time for the the tag "latest" (#255)
    
    Each time the commit is changed for the tag "latest", the commit
    time remains to be the initial time when the tag is created for
    the first time. This PR makes it able to change when the tag "latest"
    is updated.
---
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 7e84813..6424166 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -66,7 +66,8 @@ after_success:
       git config --global user.name "Travis CI";
       export GIT_TAG="latest";
       git tag -d $GIT_TAG;
-      git tag $GIT_TAG -a -m "Generated tag from Travis CI build $TRAVIS_BUILD_NUMBER";
+      git push -q https://$API_KEY@github.com/apache/incubator-openwhisk-cli :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-cli $GIT_TAG;
     fi
 

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

Mime
View raw message