mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
fixes for appveyor
This commit is contained in:
parent
5f41487fd2
commit
8e9e818c43
2 changed files with 4 additions and 3 deletions
|
@ -56,7 +56,7 @@ before_build:
|
||||||
- cmd: IF DEFINED KEYSTORE_DEC_SECRET nuget install secure-file -ExcludeVersion
|
- cmd: IF DEFINED KEYSTORE_DEC_SECRET nuget install secure-file -ExcludeVersion
|
||||||
- cmd: IF DEFINED GOOGLE_SERVICES_DEC_SECRET secure-file\tools\secure-file -decrypt src\Android\google-services.json.enc -secret %GOOGLE_SERVICES_DEC_SECRET%
|
- cmd: IF DEFINED GOOGLE_SERVICES_DEC_SECRET secure-file\tools\secure-file -decrypt src\Android\google-services.json.enc -secret %GOOGLE_SERVICES_DEC_SECRET%
|
||||||
|
|
||||||
after_build:
|
build_script:
|
||||||
- sh: |
|
- sh: |
|
||||||
cd store
|
cd store
|
||||||
chmod 600 fdroid/config.py keystore.jks
|
chmod 600 fdroid/config.py keystore.jks
|
||||||
|
@ -90,7 +90,7 @@ on_success:
|
||||||
npm run deploy
|
npm run deploy
|
||||||
fi
|
fi
|
||||||
- cmd: IF DEFINED PLAY_DEC_SECRET secure-file\tools\secure-file -decrypt store\google\Publisher\play_creds.json.enc -secret %PLAY_DEC_SECRET%
|
- cmd: IF DEFINED PLAY_DEC_SECRET secure-file\tools\secure-file -decrypt store\google\Publisher\play_creds.json.enc -secret %PLAY_DEC_SECRET%
|
||||||
- cmd: IF DEFINED PLAY_DEC_SECRET dotnet store\google\Publisher\bin\Release\netcoreapp2.0\Publisher.dll %APPVEYOR_BUILD_FOLDER%\store\google\Publisher\play_creds.json %APPVEYOR_BUILD_FOLDER%\com.x8bit.bitwarden-%APPVEYOR_BUILD_NUMBER%.apk alpha
|
- cmd: IF DEFINED PLAY_DEC_SECRET dotnet store\google\Publisher\bin\Release\netcoreapp2.0\Publisher.dll %APPVEYOR_BUILD_FOLDER%\store\google\Publisher\play_creds.json %APPVEYOR_BUILD_FOLDER%\com.x8bit.bitwarden.apk alpha
|
||||||
|
|
||||||
on_finish:
|
on_finish:
|
||||||
- sh: |
|
- sh: |
|
||||||
|
|
|
@ -22,8 +22,9 @@ $secureFilePath = $($rootPath + "\secure-file\tools\secure-file.exe");
|
||||||
|
|
||||||
Invoke-Expression "& `"$secureFilePath`" -decrypt $($encKeystorePath) -secret $($env:keystore_dec_secret)"
|
Invoke-Expression "& `"$secureFilePath`" -decrypt $($encKeystorePath) -secret $($env:keystore_dec_secret)"
|
||||||
|
|
||||||
echo "##### Sign Release Configuration"
|
echo "##### Build and Sign Release Configuration"
|
||||||
|
|
||||||
|
msbuild "$($androidPath)" "/logger:C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" "/p:Configuration=Release"
|
||||||
msbuild "$($androidPath)" "/t:SignAndroidPackage" "/p:Configuration=Release" "/p:AndroidKeyStore=true" "/p:AndroidSigningKeyAlias=bitwarden" "/p:AndroidSigningKeyPass=$($env:keystore_password)" "/p:AndroidSigningKeyStore=8bit.keystore" "/p:AndroidSigningStorePass=$($env:keystore_password)" "/v:quiet"
|
msbuild "$($androidPath)" "/t:SignAndroidPackage" "/p:Configuration=Release" "/p:AndroidKeyStore=true" "/p:AndroidSigningKeyAlias=bitwarden" "/p:AndroidSigningKeyPass=$($env:keystore_password)" "/p:AndroidSigningKeyStore=8bit.keystore" "/p:AndroidSigningStorePass=$($env:keystore_password)" "/v:quiet"
|
||||||
|
|
||||||
echo "##### Copy Release apk to project root"
|
echo "##### Copy Release apk to project root"
|
||||||
|
|
Loading…
Reference in a new issue