mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
build whole solution
This commit is contained in:
parent
0f0d9f9a10
commit
3be53235a5
2 changed files with 6 additions and 3 deletions
|
@ -87,6 +87,9 @@ build_script:
|
||||||
cd $APPVEYOR_BUILD_FOLDER
|
cd $APPVEYOR_BUILD_FOLDER
|
||||||
- ps: |
|
- ps: |
|
||||||
if($isWindows -and $env:KEYSTORE_DEC_SECRET) {
|
if($isWindows -and $env:KEYSTORE_DEC_SECRET) {
|
||||||
|
msbuild bitwarden-mobile.sln `
|
||||||
|
"/logger:C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" `
|
||||||
|
"/p:Configuration=Release"
|
||||||
.\src\Android\ci-build-apks.ps1
|
.\src\Android\ci-build-apks.ps1
|
||||||
Push-AppveyorArtifact .\com.x8bit.bitwarden.apk
|
Push-AppveyorArtifact .\com.x8bit.bitwarden.apk
|
||||||
Push-AppveyorArtifact .\com.x8bit.bitwarden-fdroid.apk
|
Push-AppveyorArtifact .\com.x8bit.bitwarden-fdroid.apk
|
||||||
|
@ -104,7 +107,8 @@ on_success:
|
||||||
cd store\google\Publisher\bin\Release\netcoreapp2.0
|
cd store\google\Publisher\bin\Release\netcoreapp2.0
|
||||||
dotnet Publisher.dll `
|
dotnet Publisher.dll `
|
||||||
$env:APPVEYOR_BUILD_FOLDER\store\google\Publisher\play_creds.json `
|
$env:APPVEYOR_BUILD_FOLDER\store\google\Publisher\play_creds.json `
|
||||||
$env:APPVEYOR_BUILD_FOLDER\com.x8bit.bitwarden.apk alpha
|
$env:APPVEYOR_BUILD_FOLDER\com.x8bit.bitwarden.apk `
|
||||||
|
alpha
|
||||||
cd $env:APPVEYOR_BUILD_FOLDER
|
cd $env:APPVEYOR_BUILD_FOLDER
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,8 @@ $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 "##### Build and Sign Release Configuration"
|
echo "##### 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