mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-25 06:06:21 +03:00
e7b002cc96
branch
21 lines
390 B
Bash
Executable File
21 lines
390 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
BRANCH=$1
|
|
COMPOUND_VERSION=$2
|
|
IS_SNAPSHOT=$3
|
|
|
|
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"
|
|
|
|
git commit -am "Bump appcast to ${COMPOUND_VERSION}"
|
|
git push origin HEAD:"${BRANCH}"
|