mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
deploy to play store
This commit is contained in:
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)"
|
"& `"$decryptSecretPath`" -filename $($appKeystoreFdroidFilename + ".gpg") -output $($appKeystoreFdroidPath)"
|
||||||
Invoke-Expression `
|
Invoke-Expression `
|
||||||
"& `"$decryptSecretPath`" -filename $($googleServicesFilename + ".gpg") -output $($googleServicesPath)"
|
"& `"$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
|
name: com.x8bit.bitwarden-fdroid.apk
|
||||||
path: ./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:
|
ios:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user