Skip to content

Commit 7e1dc4a

Browse files
committed
[Fix] 버전 번호 올리는 로직 수정
1 parent 4eb321a commit 7e1dc4a

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)