[PM-14224] Automate Play Store prod variant publishing (#4183)

This commit is contained in:
Álison Fernandes 2024-10-29 18:33:21 +00:00 committed by GitHub
parent 9e5fefa3ee
commit a5e57f1836
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 1 deletions

View file

@ -382,7 +382,9 @@ jobs:
- name: Publish Play Store bundle - name: Publish Play Store bundle
if: ${{ matrix.variant == 'prod' && matrix.artifact == 'aab' && (inputs.publish-to-play-store || github.ref_name == 'main') }} if: ${{ matrix.variant == 'prod' && matrix.artifact == 'aab' && (inputs.publish-to-play-store || github.ref_name == 'main') }}
run: bundle exec fastlane publishBetaToPlayStore run: |
bundle exec fastlane publishProdToPlayStore
bundle exec fastlane publishBetaToPlayStore
publish_fdroid: publish_fdroid:
name: Publish F-Droid artifacts name: Publish F-Droid artifacts

View file

@ -237,6 +237,17 @@ platform :android do
) )
end end
desc "Publish Play Store Beta bundle to Google Play Store"
lane :publishProdToPlayStore do
upload_to_play_store(
package_name: "com.x8bit.bitwarden",
track: "internal",
release_status: "completed",
rollout: "1",
aab: "app/build/outputs/bundle/standardRelease/com.x8bit.bitwarden-standard-release.aab",
)
end
desc "Generate release notes" desc "Generate release notes"
lane :generateReleaseNotes do |options| lane :generateReleaseNotes do |options|
branchName = `git rev-parse --abbrev-ref HEAD`.chomp() branchName = `git rev-parse --abbrev-ref HEAD`.chomp()