Add another way to tag repo

This commit is contained in:
Mathieu Maret 2017-01-18 17:39:40 +01:00
parent 00d1e2294a
commit 73e167cb96

View File

@ -22,3 +22,5 @@ git push orange $VERSION
###########################################################################################
export remoteName="github"; export branchName="master-5.1.1"; export newTag="genymaster-XXX"
repo forall -p -e -c 'if [ $REPO_REMOTE != $remoteName ]; then exit 0; fi; if git rev-parse $remoteName/$branchName >/dev/null 2>&1; then echo "do tag"; git tag -a $newTag -m "Tag de livraison" $remoteName/$branchName ; git push $remoteName --tags; fi'
repo forall -p -e -c 'if [ $REPO_REMOTE != $remoteName ]; then exit 0; fi; echo "do tag"; git tag -a $newTag -m "Tag de livraison"; git push $remoteName $newTag;'