mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 14:04:03 +00:00
Update TestFlight deployment to use Fastlane for app uploads
This commit is contained in:
13
.github/workflows/build-desktop.yml
vendored
13
.github/workflows/build-desktop.yml
vendored
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user