[script] more general way for android_repo_delivery

This commit is contained in:
Mathieu Maret 2016-10-19 15:29:36 +02:00
parent 0417774881
commit 7fa349eed9
1 changed files with 3 additions and 0 deletions

View File

@ -19,3 +19,6 @@ git push origin $VERSION
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'