1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 21:50:15 +00:00

Update TestFlight deployment to use Fastlane for app uploads

This commit is contained in:
Michal Checinski
2025-02-27 16:47:27 +01:00
parent 1b8ece1ef1
commit 06212da9e9

View File

@@ -1208,6 +1208,17 @@ jobs:
path: apps/desktop/dist/mas-universal/Bitwarden-${{ env._PACKAGE_VERSION }}-universal.pkg
if-no-files-found: error
- name: Create secrets for Fastlane
run: |
mkdir ~/secrets
cat << EOF > ~/secrets/appstoreconnect-fastlane.json
{
"issuer_id": "${{ secrets.APP_STORE_CONNECT_TEAM_ISSUER }}",
"key_id": "6TV9MKN3GP",
"key": "${{ secrets.APP_STORE_CONNECT_AUTH_KEY }}"
}
EOF
- name: Deploy to TestFlight
id: testflight-deploy
# if: |
@@ -1219,8 +1230,6 @@ jobs:
run: |
brew install fastlane
echo "{\"issuer_id\":\"$APP_STORE_CONNECT_TEAM_ISSUER\",\"key_id\":\"6TV9MKN3GP\",\"key\":\"$(cat $HOME/private_keys/AuthKey_6TV9MKN3GP.p8)\"}" >> $HOME/secrets/appstoreconnect-fastlane.json
fastlane pilot upload --app_identifier "com.bitwarden.desktop" --changelog "test" --api_key_path $HOME/secrets/appstoreconnect-fastlane.json --pkg "$(find ./dist/mas-universal/Bitwarden*.pkg)"
# xcrun altool \