config/scripts/android_repo_delivery
2017-01-18 17:39:40 +01:00

27 lines
1.1 KiB
Plaintext

export VERSION=qualif_1.3o
croot
repo forall -c "pwd; git co orange_4.3.1_r1" ;alert
repo forall -c "pwd; git pull aosp orange_4.3.1_r1";alert
#Push the current branch as well ?
#repo forall -c "pwd; git push orange orange_4.3.1_r1";alert
repo forall -c "pwd; git tag $VERSION; git push aosp $VERSION"; alert
repo forall -c "pwd; git push orange $VERSION"; alert
croot
cd .repo/manifests
git co -b $VERSION
vim default.xml
git add default.xml
git commit -m "$VERSION"
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'
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;'