Add another way to tag repo
This commit is contained in:
parent
00d1e2294a
commit
73e167cb96
@ -22,3 +22,5 @@ git push orange $VERSION
|
|||||||
###########################################################################################
|
###########################################################################################
|
||||||
export remoteName="github"; export branchName="master-5.1.1"; export newTag="genymaster-XXX"
|
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; 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;'
|
||||||
|
Loading…
Reference in New Issue
Block a user