mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-29 16:56:40 +03:00
866540dac4
- to eliminate warnings - libintl.a and libintl.dylib are pre-built for 10.10 - When building neovim we have to pass the libintl location
22 lines
408 B
Bash
Executable File
22 lines
408 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
IS_SNAPSHOT=$1
|
|
MARKETING_VERSION=$2
|
|
|
|
echo "### Setting versions of VimR"
|
|
|
|
# bundle version
|
|
agvtool bump -all
|
|
|
|
# marketing version
|
|
if [ "${IS_SNAPSHOT}" = true ] ; then
|
|
BUNDLE_VERSION=$(agvtool what-version | sed '2q;d' | sed -E 's/ +(.+)/\1/')
|
|
MARKETING_VERSION="SNAPSHOT-${BUNDLE_VERSION}"
|
|
fi
|
|
|
|
agvtool new-marketing-version ${MARKETING_VERSION}
|
|
|
|
echo "### Set versions of VimR"
|