Skip to content

Commit 3ffa201

Browse files
committed
fix/#103: 여러가지 에러 수정(설명 확인)
- 자동 빌드 번호 부여하기 찐막 - 웹훅 단순화 - xcconfig가 제대로 적용되지 않는 문제 수정(테플에서 키가 제대로 안먹었음)
1 parent d40ceba commit 3ffa201

File tree

2 files changed

+15
-21
lines changed

2 files changed

+15
-21
lines changed

.github/workflows/deploy_on_release.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,21 @@ jobs:
3535

3636
- name: 🛠️ Set up Xcode # Xcode 16.2 선택
3737
run: sudo xcode-select -s /Applications/Xcode_16.2.app
38-
39-
# 추후에 자동 빌드 넘버링 추가가 필요(뭔 짓을 해도 안돼서 포기... ㅠㅠ)
38+
39+
- name: "#️⃣ Set Build Number"
40+
run: |
41+
BUILD_NUMBER=$(date +%y%m%d.%H%M)
42+
cd Poppool
43+
agvtool new-version -all "$BUILD_NUMBER"
4044
4145
- name: ⚙️ Generate xcconfig
4246
run: |
4347
cat <<EOF > Poppool/Poppool/Resource/Debug.xcconfig
44-
KAKAO_AUTH_APP_KEY=${{ secrets.KAKAO_AUTH_APP_KEY }}
45-
NAVER_MAP_CLIENT_ID=${{ secrets.NAVER_MAP_CLIENT_ID }}
46-
POPPOOL_BASE_URL=${{ secrets.POPPOOL_BASE_URL }}
47-
POPPOOL_S3_BASE_URL=${{ secrets.POPPOOL_S3_BASE_URL }}
48-
POPPOOL_API_KEY=${{ secrets.POPPOOL_API_KEY }}
48+
POPPOOL_BASE_URL = ${{ secrets.POPPOOL_BASE_URL }}
49+
POPPOOL_S3_BASE_URL = ${{ secrets.POPPOOL_S3_BASE_URL }}
50+
POPPOOL_API_KEY = ${{ secrets.POPPOOL_API_KEY }}
51+
KAKAO_AUTH_APP_KEY = ${{ secrets.KAKAO_AUTH_APP_KEY }}
52+
NAVER_MAP_CLIENT_ID = ${{ secrets.NAVER_MAP_CLIENT_ID }}
4953
EOF
5054
5155
- name: 🔑 Configure Keychain # 키체인 초기화 -> 임시 키체인 생성
@@ -111,18 +115,8 @@ jobs:
111115
-d "{
112116
\"embeds\": [
113117
{
114-
\"title\": \"🚀 TestFlight 배포 완료!\",
115-
\"description\": \"앱이 성공적으로 업로드되었습니다.\",
116-
\"fields\": [
117-
{
118-
\"name\": \"🔖 마케팅 버전 (CFBundleShortVersionString)\",
119-
\"value\": \"$MARKETING_VERSION\"
120-
},
121-
{
122-
\"name\": \"📦 빌드 버전 (CFBundleVersion)\",
123-
\"value\": \"$BUNDLE_VERSION\"
124-
}
125-
],
118+
\"title\": \"## 🚀 TestFlight 배포 완료\",
119+
\"description\": \"v$MARKETING_VERSION ($BUNDLE_VERSION)\",
126120
\"color\": 3066993
127121
}
128122
]

Poppool/Poppool.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3708,7 +3708,7 @@
37083708
CODE_SIGN_ENTITLEMENTS = Poppool/Poppool.entitlements;
37093709
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
37103710
CODE_SIGN_STYLE = Manual;
3711-
CURRENT_PROJECT_VERSION = 3;
3711+
CURRENT_PROJECT_VERSION = 1;
37123712
DEVELOPMENT_TEAM = "";
37133713
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = W5QTRMS954;
37143714
ENABLE_USER_SCRIPT_SANDBOXING = NO;
@@ -3753,7 +3753,7 @@
37533753
CODE_SIGN_ENTITLEMENTS = Poppool/Poppool.entitlements;
37543754
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
37553755
CODE_SIGN_STYLE = Manual;
3756-
CURRENT_PROJECT_VERSION = 3;
3756+
CURRENT_PROJECT_VERSION = 1;
37573757
DEVELOPMENT_TEAM = "";
37583758
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = W5QTRMS954;
37593759
ENABLE_USER_SCRIPT_SANDBOXING = NO;

0 commit comments

Comments
 (0)