Skip to content

Commit 6d0dae4

Browse files
committed
experements
1 parent 7947562 commit 6d0dae4

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/swift.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v2
1414
- name: Run tests
15-
run: release.sh
15+
run: sh release.sh
1616
# run: xcodebuild -scheme AGInputControlsTests -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone SE (2nd generation),OS=16.2' test

release.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
set -e
3+
4+
# Constants
5+
PODSPEC_PATH=AGInputControls.podspec
6+
7+
8+
# bump version if needed (if major & patch versions )
9+
agvtool next-version -all
10+
11+
# update podspec && push
12+
CURRENT_VERSION=`agvtool mvers -terse1`
13+
CURRENT_BUILD=`agvtool vers -terse`
14+
15+
echo ""
16+
echo "Current Version: ${CURRENT_VERSION} (${CURRENT_BUILD})"
17+
echo ""

0 commit comments

Comments
 (0)