config/scripts/android_repo_delivery

27 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2014-07-18 23:21:55 +02:00
export VERSION=qualif_1.3o
2014-04-08 15:30:06 +02:00
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
2014-07-18 23:21:55 +02:00
repo forall -c "pwd; git tag $VERSION; git push aosp $VERSION"; alert
repo forall -c "pwd; git push orange $VERSION"; alert
2014-04-08 15:30:06 +02:00
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'
2017-01-18 17:39:40 +01:00
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;'