Skip to content

Commit

Permalink
Merge pull request #677 from hyun99999/release-1.0.4/#676
Browse files Browse the repository at this point in the history
[Chore] #676 - Fastlane release lane 수정
  • Loading branch information
hyun99999 authored Nov 1, 2022
2 parents 94b9c18 + 2337208 commit 9be5af5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Spark-iOS/Spark-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 Down Expand Up @@ -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 @@ -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
27 changes: 21 additions & 6 deletions Spark-iOS/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,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 @@ -59,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"
}
}
)
upload_to_app_store(
api_key_path: "fastlane/key.json",
skip_metadata: false,
skip_screenshots: true,
submit_for_review: true,
automatic_release: false,
force: true
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 @@ -78,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 @@ -97,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

0 comments on commit 9be5af5

Please sign in to comment.