mirror of
https://github.com/bitwarden/android.git
synced 2024-11-21 08:55:48 +03:00
[PM-14224] Automate Play Store prod variant publishing (#4183)
This commit is contained in:
parent
9e5fefa3ee
commit
a5e57f1836
2 changed files with 14 additions and 1 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue