mirror of
https://github.com/bitwarden/mobile
synced 2024-12-25 00:12:24 +01:00
deploy to play store
This commit is contained in:
parent
f40576c39d
commit
a05e037308
1
.github/scripts/android/decrypt-secrets.ps1
vendored
1
.github/scripts/android/decrypt-secrets.ps1
vendored
@ -19,3 +19,4 @@ Invoke-Expression `
|
||||
"& `"$decryptSecretPath`" -filename $($appKeystoreFdroidFilename + ".gpg") -output $($appKeystoreFdroidPath)"
|
||||
Invoke-Expression `
|
||||
"& `"$decryptSecretPath`" -filename $($googleServicesFilename + ".gpg") -output $($googleServicesPath)"
|
||||
Invoke-Expression "& `"$decryptSecretPath`" -filename play_creds.json.gpg"
|
||||
|
9
.github/scripts/android/deploy-play.ps1
vendored
Normal file
9
.github/scripts/android/deploy-play.ps1
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
$rootPath = $env:GITHUB_WORKSPACE;
|
||||
$homePath = $env:HOME;
|
||||
|
||||
$publisherPath = $($rootPath + "\store\google\Publisher\bin\Release\netcoreapp2.0\Publisher.dll");
|
||||
$credsPath = $($homePath + "\secrets\play_creds.json");
|
||||
$aabPath = $($rootPath + "\com.x8bit.bitwarden.aab");
|
||||
$track = "alpha";
|
||||
|
||||
dotnet $publisherPath $credsPath $aabPath $track
|
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -100,6 +100,11 @@ jobs:
|
||||
name: com.x8bit.bitwarden-fdroid.apk
|
||||
path: ./com.x8bit.bitwarden-fdroid.apk
|
||||
|
||||
- name: Deploy to Play Store
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: ./.github/scripts/android/deploy-play.ps1
|
||||
shell: pwsh
|
||||
|
||||
ios:
|
||||
runs-on: macos-latest
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user