2018-09-23 13:25:51 +00:00
|
|
|
#!/bin/sh
|
2018-09-23 13:33:39 +00:00
|
|
|
PWD=`dirname $0`
|
2018-10-10 16:59:35 +00:00
|
|
|
VERSION=$1
|
2018-09-23 13:25:51 +00:00
|
|
|
BUILD=`git rev-list HEAD --count`
|
|
|
|
agvtool new-marketing-version $VERSION
|
|
|
|
agvtool new-version $BUILD
|
2018-09-24 14:38:29 +00:00
|
|
|
|
|
|
|
echo "Setting podspec version to $VERSION..."
|
|
|
|
sed -i "" -E 's@s\.version( +)= "[0-9]+\.[0-9]+\.[0-9]+"$@s.version\1= "'$VERSION'"@g' TunnelKit.podspec
|