Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chore] #676 - Fastlane release lane 수정 #677

Merged
merged 12 commits into from
Nov 1, 2022
12 changes: 6 additions & 6 deletions Spark-iOS/Spark-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2029,7 +2029,7 @@
CODE_SIGN_ENTITLEMENTS = "Spark-iOS/Spark-iOS.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 49;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = T8C9SSEX5G;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Spark-iOS/Resource/Info.plist";
Expand All @@ -2047,7 +2047,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.4;
MARKETING_VERSION = 1.1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.TeamSparker.Spark;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -2067,7 +2067,7 @@
CODE_SIGN_ENTITLEMENTS = "Spark-iOS/Spark-iOS.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 49;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = T8C9SSEX5G;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Spark-iOS/Resource/Info.plist";
Expand All @@ -2085,7 +2085,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.4;
MARKETING_VERSION = 1.1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.TeamSparker.Spark;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -2166,7 +2166,7 @@
CODE_SIGN_ENTITLEMENTS = "Spark-iOS/Spark-iOS.entitlements";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 49;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = T8C9SSEX5G;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Spark-iOS/Resource/Info.plist";
Expand All @@ -2184,7 +2184,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.4;
MARKETING_VERSION = 1.1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.TeamSparker.Spark;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
32 changes: 23 additions & 9 deletions Spark-iOS/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ platform :ios do
api_key_path: "fastlane/key.json",
distribute_external: true,
groups: ["SparkBetaTestGroup"],
changelog: "- 수출 규정 문서 추가
- fastlane 에서 테스트 세부사항 작성"
changelog: "- 개발자 QA 중 Level 1 의 spark flake 이미지가 보이지 않아서 수정하였습니다."
)
version = get_version_number(
xcodeproj: "Spark-iOS.xcodeproj",
Expand All @@ -48,7 +47,7 @@ platform :ios do
username: "항상건강해야한다콩이",
icon_url: "https://user-images.githubusercontent.com/69136340/194049016-4b1f747f-99ed-4a14-a28d-2ed9a26fe0e3.png",
message: "성공적으로 TestFlight 에 등록되었습니다!🔥",
slack_url: "https://hooks.slack.com/services/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",
slack_url: "https://hooks.slack.com/services/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",
payload: {
"Version": version + "(" + build + ")"
}
Expand All @@ -60,15 +59,30 @@ platform :ios do
if options[:version]
get_certificates
get_provisioning_profile
increment_version_number(version_number: options[:version])
build_app(workspace: "Spark-iOS.xcworkspace", scheme: "Spark-release")
increment_version_number(
version_number: options[:version],
xcodeproj: "Spark-iOS.xcodeproj"
)
build_app(
workspace: "Spark-iOS.xcworkspace",
scheme: "Spark-beta",
export_method: "app-store",
export_options: {
provisioningProfiles: {
"com.TeamSparker.Spark" => "Spark AppStore",
"com.TeamSparker.Spark.SparkNotificationService" => "SparkNotificationService AppStore"
}
Comment on lines -63 to +74
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yangsubin
여기 였나봐요 🥲

}
)
upload_to_app_store(
api_key_path: "fastlane/key.json",
skip_metadata: false,
skip_screenshots: true,
submit_for_review: true,
automatic_release: true,
force: true
automatic_release: false,
force: true,
precheck_include_in_app_purchases: false,
submission_information: { add_id_info_uses_idfa: false }
)
version = get_version_number(
xcodeproj: "Spark-iOS.xcodeproj",
Expand All @@ -79,7 +93,7 @@ platform :ios do
username: "항상건강해야한다콩이",
icon_url: "https://user-images.githubusercontent.com/69136340/194049016-4b1f747f-99ed-4a14-a28d-2ed9a26fe0e3.png",
message: "성공적으로 앱을 등록했습니다!💫",
slack_url: "https://hooks.slack.com/services/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",
slack_url: "https://hooks.slack.com/services/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",
payload: {
"Version": version + "(" + build + ")"
}
Expand All @@ -98,7 +112,7 @@ platform :ios do
icon_url: "https://user-images.githubusercontent.com/69136340/194049016-4b1f747f-99ed-4a14-a28d-2ed9a26fe0e3.png",
message: "에러 발생!!! 발생!!🚨 : #{exception}",
success: false,
slack_url: "https://hooks.slack.com/services/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",
slack_url: "https://hooks.slack.com/services/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",
payload: {
"Version": version + "(" + build + ")"
}
Expand Down