mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-29 00:34:26 +03:00
GH-471 When building a release, update also the snapshot channel
This commit is contained in:
parent
663ec2fc0f
commit
bd1500178b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user