File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,13 +74,12 @@ jobs:
7474 cp "./$PROVISION" "$HOME/Library/MobileDevice/Provisioning Profiles/$UUID.mobileprovision"
7575 done
7676
77- - name : Bump build number
78- run : |
79- PROJ_FILE="./Wable-iOS.xcodeproj/project.pbxproj"
80- CURRENT_VERSION=$(grep -m 1 "CURRENT_PROJECT_VERSION = " "$PROJ_FILE" | sed 's/.*CURRENT_PROJECT_VERSION = \([0-9]*\).*/\1/')
81- NEW_VERSION=$((CURRENT_VERSION + 1))
82-
83- sed -i '' "s/CURRENT_PROJECT_VERSION = $CURRENT_VERSION;/CURRENT_PROJECT_VERSION = $NEW_VERSION;/" "$PROJ_FILE"
77+ - name : Bump Version Number
78+ uses : yanamura/ios-bump-version@v1.7.0
79+ id : ios_bump_version
80+ with :
81+ version-path : ' '
82+ build-number : ' '
8483
8584 - name : Build
8685 run : xcodebuild clean build -project $XC_WORKSPACE -scheme $XC_SCHEME -configuration release -destination 'platform=iOS Simulator,OS=15.0,name=iPhone 13 mini'
You can’t perform that action at this time.
0 commit comments