PM-3349 Commented the Deploy step for Android job given that we're using the hotfix-rc branch for testing iOS on TestFlight

This commit is contained in:
Federico Maccaroni 2023-12-15 12:08:01 -03:00
parent 770a1c5dfe
commit 6b9faed45f
No known key found for this signature in database
GPG key ID: 5D233F8F2B034536

View file

@ -276,20 +276,21 @@ jobs:
path: ./bw-android-${{ matrix.variant }}-apk-sha256.txt
if-no-files-found: error
- name: Deploy to Play Store
if: ${{ matrix.variant == 'prod' && (( 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' ) }}
run: |
PUBLISHER_PATH="$GITHUB_WORKSPACE/store/google/Publisher/bin/Release/netcoreapp3.1/Publisher.dll"
CREDS_PATH="$HOME/secrets/play_creds.json"
AAB_PATH="$GITHUB_WORKSPACE/com.x8bit.bitwarden.aab"
TRACK="internal"
# TODO: Uncomment when finishing testing iOS on TestFlight (hotfix-rc branch)
# - name: Deploy to Play Store
# if: ${{ matrix.variant == 'prod' && (( 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' ) }}
# run: |
# PUBLISHER_PATH="$GITHUB_WORKSPACE/store/google/Publisher/bin/Release/net7.0/Publisher.dll"
# CREDS_PATH="$HOME/secrets/play_creds.json"
# AAB_PATH="$GITHUB_WORKSPACE/com.x8bit.bitwarden.aab"
# TRACK="internal"
dotnet $PUBLISHER_PATH $CREDS_PATH $AAB_PATH $TRACK
shell: bash
# dotnet $PUBLISHER_PATH $CREDS_PATH $AAB_PATH $TRACK
# shell: bash
f-droid: