Skip to content

Commit eb0fbad

Browse files
authored
Merge pull request #3611 from woocommerce/update/deliver-for-app-store-connect-api
Use API Key for `deliver`
2 parents ff396a9 + 22d4f9e commit eb0fbad

File tree

7 files changed

+14
-16
lines changed

7 files changed

+14
-16
lines changed

.configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"project_name": "woocommerce-ios",
33
"branch": "trunk",
4-
"pinned_hash": "2ed6e69e0620cd85fddd186ef4cc82290219a70e",
4+
"pinned_hash": "f6990f60841fd307f78fc484188f0b16d56aec8f",
55
"files_to_copy": [
66
{
77
"file": "shared/google_cloud_keys.json",

.configure-files/project.env.enc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
�@�����#F��k�ߛ�$Q_����ۋM '�� l�M�S�"
2-
�1^����:8��'E���������-ث W����v�Ƕ9�Q�吳���^�$�>�j�,�=#�^Fl`{�:r:!5��G;�`�9��O��AG�� ��a.`� �-�r�/D�ӛ םi�Ҋ��i �+~T�58"2�\T1��~H���;^��t��=eoJ�
2+
�1^����:8��'E���������-ث W����v�Ƕ9�Q�吳���^�$�>�j�,�=#�^Fl`{�:r:!5��G;�`�9��O��AG�� ��a.`� �-�r�/D�ӛ םi�Ҋ��i �+~T�58"2�\T1��~H���(�'���w�� �M�
3+
/��)�x�v=�,L���*Ow��ڄ�J��&$�e{r�TlV�� 0����B��*N�"-H� c����PK/�*1���

fastlane/Deliverfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ team_id "299112"
2020
skip_binary_upload true
2121
overwrite_screenshots true
2222
phased_release true
23+
24+
# Use the decrypted API Key for authentication
25+
api_key_path ".configure-files/app_store_connect_fastlane_api_key.json"
26+
27+
# Not supported when using the API, and we don't use IAP anyway
28+
precheck_include_in_app_purchases false

fastlane/Fastfile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -599,16 +599,6 @@ ENV["APP_STORE_STRINGS_FILE_NAME"]="AppStoreStrings.pot"
599599
FileUtils.remove_dir(review_info_path) if File.directory?(review_info_path)
600600
end
601601

602-
desc "Upload App Store Data"
603-
lane :upload_app_store_data do | options |
604-
deliver(
605-
skip_binary_upload: true,
606-
skip_screenshots: true,
607-
ignore_language_directory_validation: true,
608-
precheck_include_in_app_purchases: false # Not supported yet when using ADC APIKey
609-
)
610-
end
611-
612602
desc "Create Promo Screenshots"
613603
lane :create_promo_screenshots do | options |
614604

fastlane/Matchfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
storage_mode("google_cloud")
55
google_cloud_bucket_name("a8c-fastlane-match")
66
google_cloud_keys_file(".configure-files/google_cloud_keys.json")
7+
8+
# Use the decrypted API Key for authentication
9+
api_key_path ".configure-files/app_store_connect_fastlane_api_key.json"

fastlane/env/project.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ FASTLANE_ITC_TEAM_ID=<Team ID for AppStore Connect>
55

66
SENTRY_ORG_SLUG=<Org Slug for Sentry>
77
SENTRY_PROJECT_SLUG=<Project Slug for Sentry>
8+
9+
PILOT_API_KEY_PATH=".configure-files/app_store_connect_fastlane_api_key.json" # fastlane testlight

fastlane/env/user.env.example

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
PILOT_API_KEY_PATH=".configure-files/app_store_connect_fastlane_api_key.json" # fastlane testlight
2-
DELIVER_API_KEY_PATH=$PILOT_API_KEY_PATH # fastlane deliver
3-
SIGH_API_KEY_PATH=$PILOT_API_KEY_PATH # fastlane match
4-
51
GHHELPER_ACCESS=<GitHub access token>
62
SENTRY_AUTH_TOKEN=<Sentry auth token>
73

0 commit comments

Comments
 (0)