1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 02:54:31 +03:00
vimr/bin/commit_and_push_appcast.sh
Tae Won Ha 866540dac4
Include pre-built libintl in the repository
- to eliminate warnings
- libintl.a and libintl.dylib are pre-built for 10.10
- When building neovim we have to pass the libintl location
2017-05-07 13:17:09 +02:00

19 lines
328 B
Bash
Executable File

#!/bin/bash
set -e
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 .
fi
echo "### Commiting and pushing appcast"
git commit -S -am "Bump appcast to ${COMPOUND_VERSION}"
git push origin HEAD:"${BRANCH}"