diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml
index 48ecca540e8..72b60da97a1 100644
--- a/.github/workflows/build-desktop.yml
+++ b/.github/workflows/build-desktop.yml
@@ -33,6 +33,10 @@ on:
description: "Custom SDK branch"
required: false
type: string
+ testflight_distribute:
+ description: "Force distribute to TestFlight regardless of branch (useful for QA testing on feature branches)"
+ type: boolean
+ default: true
defaults:
run:
@@ -1208,21 +1212,45 @@ jobs:
path: apps/desktop/dist/mas-universal/Bitwarden-${{ env._PACKAGE_VERSION }}-universal.pkg
if-no-files-found: error
+ - name: Create secrets for Fastlane
+ if: |
+ github.event_name != 'pull_request_target'
+ && (inputs.testflight_distribute || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/hotfix-rc-desktop')
+ run: |
+ brew install gsed
+
+ KEY_WITHOUT_NEWLINES=$(gsed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g' ~/private_keys/AuthKey_6TV9MKN3GP.p8)
+
+ cat << EOF > ~/secrets/appstoreconnect-fastlane.json
+ {
+ "issuer_id": "${{ secrets.APP_STORE_CONNECT_TEAM_ISSUER }}",
+ "key_id": "6TV9MKN3GP",
+ "key": "$KEY_WITHOUT_NEWLINES"
+ }
+ EOF
+
- name: Deploy to TestFlight
id: testflight-deploy
if: |
github.event_name != 'pull_request_target'
- && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/hotfix-rc-desktop')
+ && (inputs.testflight_distribute || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/rc' || github.ref == 'refs/heads/hotfix-rc-desktop')
env:
APP_STORE_CONNECT_TEAM_ISSUER: ${{ secrets.APP_STORE_CONNECT_TEAM_ISSUER }}
APP_STORE_CONNECT_AUTH_KEY: 6TV9MKN3GP
+ BRANCH: ${{ github.ref }}
run: |
- xcrun altool \
- --upload-app \
- --type macos \
- --file "$(find ./dist/mas-universal/Bitwarden*.pkg)" \
- --apiKey $APP_STORE_CONNECT_AUTH_KEY \
- --apiIssuer $APP_STORE_CONNECT_TEAM_ISSUER
+
+ GIT_CHANGE="$(git show -s --format=%s)"
+
+ BRANCH=$(echo $BRANCH | sed 's/refs\/heads\///')
+
+ CHANGELOG="$BRANCH: $GIT_CHANGE"
+
+ fastlane pilot upload \
+ --app_identifier "com.bitwarden.desktop" \
+ --changelog "$CHANGELOG" \
+ --api_key_path $HOME/secrets/appstoreconnect-fastlane.json \
+ --pkg "$(find ./dist/mas-universal/Bitwarden*.pkg)"
- name: Post message to a Slack channel
id: slack-message
diff --git a/apps/browser/src/auth/popup/extension-anon-layout-wrapper/extension-anon-layout-wrapper.component.html b/apps/browser/src/auth/popup/extension-anon-layout-wrapper/extension-anon-layout-wrapper.component.html
index 88a3b1c3076..54cb5203a87 100644
--- a/apps/browser/src/auth/popup/extension-anon-layout-wrapper/extension-anon-layout-wrapper.component.html
+++ b/apps/browser/src/auth/popup/extension-anon-layout-wrapper/extension-anon-layout-wrapper.component.html
@@ -21,6 +21,7 @@
[hideLogo]="true"
[maxWidth]="maxWidth"
[hideFooter]="hideFooter"
+ [hideIcon]="hideIcon"
>