-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
�Fix: Tuist Signing -> Match 인증 방식 변경(527) (#79)
* chore: Tuist Signing 폴더 삭제 * fix: tuist Siging -> fastlane match로 사이닝 방식 변경 * feat: tuist 수동으로 인증서 설정 * fix: tuist Signing -> match 변경으로 인한 main.yml 파일 수정 * fix: AuthKey 무효화 및 새 content key 발급 + 숨김처리 * chore: github action target 브랜치 epic/CD 추가 * chore: env MATCH_PASSWORD 시크릿 key 추가
- Loading branch information
Showing
11 changed files
with
85 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ SLACK_HOOK_URL = ENV["SLACK_HOOK_URL"] | |
|
||
FASTLANE_API_KEY_ID = ENV["FASTLANE_API_KEY_ID"] | ||
FASTLANE_API_KEY_ISSUER_ID = ENV["FASTLANE_API_KEY_ISSUER_ID"] | ||
FASTLANE_API_KEY_CONTENT = ENV["FASTLANE_API_KEY_CONTENT"] | ||
|
||
default_platform(:ios) | ||
|
||
|
@@ -22,20 +23,6 @@ platform :ios do | |
timeout: 3600, | ||
lock_when_sleeps: true | ||
) | ||
|
||
import_certificate( | ||
certificate_path: "Tuist/Signing/release.cer", | ||
keychain_name: "#{KEYCHAIN_NAME}", | ||
keychain_password: "#{KEYCHAIN_PASSWORD}" | ||
) | ||
|
||
import_certificate( | ||
certificate_path: "Tuist/Signing/release.p12", | ||
keychain_name: "#{KEYCHAIN_NAME}", | ||
keychain_password: "#{KEYCHAIN_PASSWORD}" | ||
) | ||
|
||
install_provisioning_profile(path: "Tuist/Signing/#{APP_NAME}.Release.mobileprovision") | ||
end | ||
|
||
# 테스트 플라이트 업로드 | ||
|
@@ -48,7 +35,7 @@ platform :ios do | |
app_store_connect_api_key( | ||
key_id: "#{FASTLANE_API_KEY_ID}", | ||
issuer_id: "#{FASTLANE_API_KEY_ISSUER_ID}", | ||
key_filepath: "fastlane/AuthKey.p8" | ||
key_content: "#{FASTLANE_API_KEY_CONTENT}" | ||
) | ||
|
||
new_build_number = latest_testflight_build_number + 1 | ||
|
@@ -58,15 +45,38 @@ platform :ios do | |
xcodeproj: "Projects/App/Moneymong.xcodeproj" | ||
) | ||
|
||
match( | ||
git_url: "[email protected]:MONEYMONG/iOS-Moneymong-Match.git", | ||
storage_mode: "git", | ||
type: "appstore", | ||
app_identifier: "com.yapp.moneymong", | ||
force_for_new_devices: true, | ||
readonly: true | ||
) | ||
|
||
match( | ||
git_url: "[email protected]:MONEYMONG/iOS-Moneymong-Match.git", | ||
storage_mode: "git", | ||
type: "appstore", | ||
app_identifier: "com.yapp.moneymong.WidgetExtension", | ||
force_for_new_devices: true, | ||
readonly: true | ||
) | ||
|
||
# ✅ 빌드 | ||
build_app( | ||
workspace: "#{APP_NAME}.xcworkspace", | ||
scheme: "#{SCHEME}", | ||
export_method: "app-store" | ||
export_method: "app-store", | ||
xcargs: "-allowProvisioningUpdates" | ||
) | ||
|
||
# ✅ 테스트 플라이트 업로드 | ||
upload_to_testflight(skip_waiting_for_build_processing: true) | ||
upload_to_testflight( | ||
app_identifier: "com.yapp.moneymong", | ||
skip_waiting_for_build_processing: true | ||
) | ||
|
||
slack( | ||
message: "⭐️ 테스트 플라이트 업로드 성공", | ||
channel: "#알림-ios-배포", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
git_url("https://github.com/MONEYMONG/iOS-Moneymong-Match.git") | ||
|
||
storage_mode("git") | ||
|
||
#type("development") # The default type, can be: appstore, adhoc, enterprise or development | ||
type("appstore") # The default type, can be: appstore, adhoc, enterprise or development | ||
|
||
app_identifier(["com.yapp.moneymong", "com.yapp.moneymong.WidgetExtension"]) | ||
username("[email protected]") | ||
# app_identifier(["tools.fastlane.app", "tools.fastlane.app2"]) | ||
# username("[email protected]") # Your Apple Developer Portal username | ||
|
||
# For all available options run `fastlane match --help` | ||
# Remove the # in the beginning of the line to enable the other options | ||
|
||
# The docs are available on https://docs.fastlane.tools/actions/match |