Skip to content

Commit 93827b1

Browse files
committed
fix/#103: 빌드 번호 중복 문제 해결
- 테플에서 중복된 빌드 번호가 중복될 경우 배포가 안되는 문제를 해결하기 위해 빌드번호를 자동으로 추가하도록 수정
1 parent e7aea50 commit 93827b1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/deploy_on_release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ jobs:
7878
cp "./$PROVISION" "$HOME/Library/MobileDevice/Provisioning Profiles/$UUID.mobileprovision"
7979
done
8080
81+
- name: 🔢 Bump Build Number
82+
run: |
83+
BUILD_NUMBER=$(date +%s)
84+
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $BUILD_NUMBER" Poppool/Poppool/Info.plist
85+
8186
- name: ⬇️ Archive app # 빌드 및 아카이브
8287
run: |
8388
xcodebuild clean archive -project $XC_PROJECT -scheme $XC_SCHEME -configuration release -archivePath $XC_ARCHIVE

0 commit comments

Comments
 (0)