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

This commit is contained in:
Álison Fernandes 2024-10-29 18:33:21 +00:00
parent d71389ab02
commit 42671aadfb
No known key found for this signature in database
GPG key ID: B8CE98903DFC87BC
2 changed files with 14 additions and 1 deletions

View file

@ -382,7 +382,9 @@ jobs:
- name: Publish Play Store bundle
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:
name: Publish F-Droid artifacts

View file

@ -237,6 +237,17 @@ platform :android do
)
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"
lane :generateReleaseNotes do |options|
branchName = `git rev-parse --abbrev-ref HEAD`.chomp()