mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-26 23:36:08 +03:00
GH-220 Improve script
This commit is contained in:
parent
f6e186b7b1
commit
9421ae1f4d
@ -2,9 +2,16 @@
|
|||||||
|
|
||||||
BRANCH=$1
|
BRANCH=$1
|
||||||
COMPOUND_VERSION=$2
|
COMPOUND_VERSION=$2
|
||||||
|
IS_SNAPSHOT=$3
|
||||||
|
|
||||||
cp build/Release/appcast* .
|
if [ "${IS_SNAPSHOT}" = true ] ; then
|
||||||
|
cp ./build/Release/appcast_snapshot.xml .
|
||||||
|
else
|
||||||
|
cp ./build/Release/appcast.xml .
|
||||||
|
cp ./build/Release/appcast.xml ./appcast_snapshot.xml
|
||||||
|
fi
|
||||||
|
|
||||||
echo "### Commiting and pushing appcast"
|
echo "### Commiting and pushing appcast"
|
||||||
|
|
||||||
git commit -am "Bump appcast to ${COMPOUND_VERSION}"
|
git commit -am "Bump appcast to ${COMPOUND_VERSION}"
|
||||||
git push origin HEAD:"${BRANCH}"
|
git push origin HEAD:"${BRANCH}"
|
||||||
|
Loading…
Reference in New Issue
Block a user