Skip to content

Commit 17c6940

Browse files
authored
Merge pull request #5036 from Expensify/andrew-ios-prod
[No QA]Fix iOS production deploys
2 parents 4283835 + 25e637b commit 17c6940

File tree

3 files changed

+62
-18
lines changed

3 files changed

+62
-18
lines changed

.github/workflows/platformDeploy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,7 @@ jobs:
243243

244244
- name: Set iOS version in ENV
245245
if: ${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
246-
run: |
247-
echo "IOS_VERSION=$(echo '${{ github.event.release.tag_name }}' | tr '-' '.')" >> $GITHUB_ENV
248-
echo "iOS version is: ${{ env.IOS_VERSION }}"
246+
run: echo "IOS_VERSION=$(echo '${{ github.event.release.tag_name }}' | tr '-' '.')" >> $GITHUB_ENV
249247

250248
- name: Run Fastlane for App Store release
251249
if: ${{ env.SHOULD_DEPLOY_PRODUCTION == 'true' }}

Gemfile.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ GEM
1414
json (>= 1.5.1)
1515
artifactory (3.0.15)
1616
atomos (0.1.3)
17-
aws-eventstream (1.1.1)
18-
aws-partitions (1.490.0)
19-
aws-sdk-core (3.119.1)
17+
aws-eventstream (1.2.0)
18+
aws-partitions (1.495.0)
19+
aws-sdk-core (3.121.0)
2020
aws-eventstream (~> 1, >= 1.0.2)
2121
aws-partitions (~> 1, >= 1.239.0)
2222
aws-sigv4 (~> 1.1)
2323
jmespath (~> 1.0)
24-
aws-sdk-kms (1.46.0)
25-
aws-sdk-core (~> 3, >= 3.119.0)
24+
aws-sdk-kms (1.48.0)
25+
aws-sdk-core (~> 3, >= 3.120.0)
2626
aws-sigv4 (~> 1.1)
27-
aws-sdk-s3 (1.99.0)
28-
aws-sdk-core (~> 3, >= 3.119.0)
27+
aws-sdk-s3 (1.102.0)
28+
aws-sdk-core (~> 3, >= 3.120.0)
2929
aws-sdk-kms (~> 1)
30-
aws-sigv4 (~> 1.1)
31-
aws-sigv4 (1.2.4)
30+
aws-sigv4 (~> 1.4)
31+
aws-sigv4 (1.4.0)
3232
aws-eventstream (~> 1, >= 1.0.2)
3333
babosa (1.0.4)
3434
claide (1.0.3)
@@ -85,7 +85,7 @@ GEM
8585
ethon (0.12.0)
8686
ffi (>= 1.3.0)
8787
excon (0.85.0)
88-
faraday (1.7.0)
88+
faraday (1.7.1)
8989
faraday-em_http (~> 1.0)
9090
faraday-em_synchrony (~> 1.0)
9191
faraday-excon (~> 1.1)
@@ -110,7 +110,7 @@ GEM
110110
faraday_middleware (1.1.0)
111111
faraday (~> 1.0)
112112
fastimage (2.2.5)
113-
fastlane (2.192.0)
113+
fastlane (2.193.1)
114114
CFPropertyList (>= 2.3, < 4.0.0)
115115
addressable (>= 2.8, < 3.0.0)
116116
artifactory (~> 3.0)
@@ -184,13 +184,13 @@ GEM
184184
google-cloud-core (~> 1.6)
185185
googleauth (>= 0.16.2, < 2.a)
186186
mini_mime (~> 1.0)
187-
googleauth (0.17.0)
187+
googleauth (0.17.1)
188188
faraday (>= 0.17.3, < 2.0)
189189
jwt (>= 1.4, < 3.0)
190190
memoist (~> 0.16)
191191
multi_json (~> 1.11)
192192
os (>= 0.9, < 2.0)
193-
signet (~> 0.14)
193+
signet (~> 0.15)
194194
highline (2.0.3)
195195
http-cookie (1.0.4)
196196
domain_name (~> 0.5)

fastlane/Fastfile

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,16 +140,62 @@ platform :ios do
140140
lane :production do
141141
deliver(
142142
api_key_path: "./ios/ios-fastlane-json-key.json",
143+
144+
# Skip HTMl report verification
145+
force: true,
146+
147+
# VERSION will be set to the full build_number e.g. '1.0.92.0'
143148
build_number: ENV["VERSION"],
149+
150+
# app_version needs to be set to the short version, without the last digit e.g. '1.0.92'
151+
app_version: ENV["VERSION"].rpartition(".")[0],
152+
153+
# We want to submit the version for Apple to review
144154
submit_for_review: true,
155+
156+
# We want to release the app as soon as it's approved
145157
automatic_release: true,
146-
skip_metadata: true,
158+
159+
# We need to upload metadata to upload the release notes which is required for rach new version
160+
skip_metadata: false,
161+
162+
# We do not want to upload any screenshots
147163
skip_screenshots: true,
164+
165+
# We do not have any binary to upload as it's already in TestFlight
148166
skip_binary_upload: true,
167+
168+
# Reject the current build if there is one in review
169+
reject_if_possible: true,
170+
171+
# We do not want to reset the ratings
172+
reset_ratings: false,
173+
174+
# Precheck cannot check for in app purchases with the API key we use
149175
precheck_include_in_app_purchases: false,
150176
submission_information: {
151-
add_id_info_uses_idfa: false
177+
178+
# We currently do not use idfa: https://developer.apple.com/app-store/user-privacy-and-data-use/
179+
add_id_info_uses_idfa: false,
180+
181+
# We do not need any additional compliance
182+
export_compliance_compliance_required: false,
183+
184+
# We do not use any encrpytion
185+
export_compliance_encryption_updated: false,
186+
export_compliance_app_type: nil,
187+
export_compliance_uses_encryption: false,
188+
export_compliance_is_exempt: false,
189+
export_compliance_contains_third_party_cryptography: false,
190+
export_compliance_contains_proprietary_cryptography: false,
191+
192+
# We do not show any third party content
193+
content_rights_contains_third_party_content: false
194+
},
195+
release_notes: {
196+
'en-US' => "Improvements and bug fixes"
152197
}
153198
)
199+
154200
end
155201
end

0 commit comments

Comments
 (0)