mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-13 10:14:16 +01:00
[BRE-365] - Update Apple Store Creds to Team Issuer Credential (#3421)
* update Apple store creds to team issuer credential * update * Update key id for altool --------- Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
This commit is contained in:
parent
f1a2714e8a
commit
d2d442253b
32
.github/workflows/build.yml
vendored
32
.github/workflows/build.yml
vendored
@ -679,19 +679,27 @@ jobs:
|
||||
echo "##### Uploading Watch dSYMs to Firebase"
|
||||
find "$HOME/Library/Developer/XCode/DerivedData" -name "upload-symbols" -exec chmod +x {} \; -exec {} -gsp "./src/watchOS/bitwarden/GoogleService-Info.plist" -p ios "./bitwarden-export/Watch_dSYMs" \;
|
||||
|
||||
- name: Set up private auth key
|
||||
run: |
|
||||
mkdir ~/private_keys
|
||||
cat << EOF > ~/private_keys/AuthKey_U362LJ87AA.p8
|
||||
${{ secrets.APP_STORE_CONNECT_AUTH_KEY }}
|
||||
EOF
|
||||
|
||||
- name: Validate app in App Store
|
||||
if: |
|
||||
(github.ref == 'refs/heads/master'
|
||||
(github.ref == 'refs/heads/main'
|
||||
&& needs.setup.outputs.rc_branch_exists == 0
|
||||
&& needs.setup.outputs.hotfix_branch_exists == 0)
|
||||
|| (github.ref == 'refs/heads/rc' && needs.setup.outputs.hotfix_branch_exists == 0)
|
||||
|| github.ref == 'refs/heads/hotfix-rc'
|
||||
env:
|
||||
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
||||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
||||
run: |
|
||||
xcrun altool --validate-app --type ios --file "./bitwarden-export/Bitwarden.ipa" \
|
||||
--username "$APPLE_ID_USERNAME" --password "$APPLE_ID_PASSWORD"
|
||||
xcrun altool \
|
||||
--validate-app \
|
||||
--type ios \
|
||||
--file "./bitwarden-export/Bitwarden.ipa" \
|
||||
--apiKey "U362LJ87AA" \
|
||||
--apiIssuer ${{ secrets.APP_STORE_CONNECT_TEAM_ISSUER }}
|
||||
|
||||
- name: Deploy to App Store
|
||||
if: |
|
||||
@ -700,13 +708,13 @@ jobs:
|
||||
&& needs.setup.outputs.hotfix_branch_exists == 0)
|
||||
|| (github.ref == 'refs/heads/rc' && needs.setup.outputs.hotfix_branch_exists == 0)
|
||||
|| github.ref == 'refs/heads/hotfix-rc'
|
||||
env:
|
||||
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
||||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
||||
run: |
|
||||
xcrun altool --upload-app --type ios --file "./bitwarden-export/Bitwarden.ipa" \
|
||||
--username "$APPLE_ID_USERNAME" --password "$APPLE_ID_PASSWORD"
|
||||
|
||||
xcrun altool \
|
||||
--upload-app \
|
||||
--type ios \
|
||||
--file "./bitwarden-export/Bitwarden.ipa" \
|
||||
--apiKey "U362LJ87AA" \
|
||||
--apiIssuer ${{ secrets.APP_STORE_CONNECT_TEAM_ISSUER }}
|
||||
|
||||
crowdin-push:
|
||||
name: Crowdin Push
|
||||
|
Loading…
Reference in New Issue
Block a user