1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 02:54:31 +03:00

GH-471 When building a release, update also the snapshot channel

This commit is contained in:
Tae Won Ha 2017-06-21 23:15:15 +02:00
parent 663ec2fc0f
commit bd1500178b
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -16,3 +16,12 @@ echo "### Commiting and pushing appcast"
git commit -S -am "Bump appcast to ${COMPOUND_VERSION}"
git push origin HEAD:"${BRANCH}"
if [ "${IS_SNAPSHOT}" = false ] ; then
git reset --hard @
git checkout develop
git merge master
cp appcast.xml appcast_snapshot.xml
git commit appcast_snapshot.xml -m "Update appcast_snapshot with version ${COMPOUND_VERSION}"
git push origin HEAD:develop
fi