Skip to content

Commit 24b8e2f

Browse files
committed
update version
1 parent 6d0dae4 commit 24b8e2f

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

AGInputControls/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.1.2</string>
18+
<string>1.1.3</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>

AGInputControlsTests/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.1.2</string>
18+
<string>1.1.3</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
</dict>

release.sh

+11-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ set -e
44
# Constants
55
PODSPEC_PATH=AGInputControls.podspec
66

7-
8-
# bump version if needed (if major & patch versions )
9-
agvtool next-version -all
10-
117
# update podspec && push
128
CURRENT_VERSION=`agvtool mvers -terse1`
13-
CURRENT_BUILD=`agvtool vers -terse`
9+
NEW_VERSION='1.1.4'
10+
11+
sed -i '' -e "s/$CURRENT_VERSION/$NEW_VERSION/" $PODSPEC_PATH
12+
# bump version if needed (if major & patch versions )
13+
# agvtool new-marketing-version 1.1.4
14+
LAST_TAG=`git describe --abbrev=0`
15+
# echo ""
16+
# echo "Current Version: ${CURRENT_VERSION} (${CURRENT_BUILD})"
17+
# echo ""
1418

15-
echo ""
16-
echo "Current Version: ${CURRENT_VERSION} (${CURRENT_BUILD})"
17-
echo ""
19+
# git tag $CURRENT_VERSION
20+
# git push origin $CURRENT_VERSION

0 commit comments

Comments
 (0)