1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-27 12:26:31 +01:00
bitwarden-mobile/appveyor.yml

21 lines
1.5 KiB
YAML
Raw Normal View History

2017-11-20 16:41:11 +01:00
init:
2017-11-20 22:25:02 +01:00
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/bitwarden/mobile/master/install-android26.ps1'))
2017-02-11 07:13:03 +01:00
before_build:
- nuget restore
2017-02-14 03:57:11 +01:00
- IF DEFINED keystore_dec_secret nuget install secure-file -ExcludeVersion
2017-02-11 07:13:03 +01:00
after_build:
2017-02-17 02:05:20 +01:00
- ps: IF($env:keystore_dec_secret) { .\src\Android\increment-version.ps1 $($env:APPVEYOR_BUILD_FOLDER) $($env:APPVEYOR_BUILD_NUMBER) }
2017-02-14 03:57:11 +01:00
- IF DEFINED keystore_dec_secret secure-file\tools\secure-file -decrypt src\Android\8bit.keystore.enc -secret %keystore_dec_secret%
- IF DEFINED keystore_password msbuild "/t:SignAndroidPackage" "/p:Configuration=Release" "/p:AndroidKeyStore=true" "/p:AndroidSigningKeyAlias=bitwarden" "/p:AndroidSigningKeyPass=%keystore_password%" "/p:AndroidSigningKeyStore=8bit.keystore" "/p:AndroidSigningStorePass=%keystore_password%" "src\Android\Android.csproj"
2017-02-17 02:05:20 +01:00
- ps: IF($env:keystore_dec_secret) { copy-item src\Android\bin\Release\com.x8bit.bitwarden-Signed.apk .\com.x8bit.bitwarden-$($env:APPVEYOR_BUILD_NUMBER).apk }
2017-02-11 07:13:03 +01:00
on_success:
2017-02-14 03:57:11 +01:00
- IF DEFINED play_dec_secret secure-file\tools\secure-file -decrypt store\google\Publisher\play_creds.json.enc -secret %play_dec_secret%
- IF DEFINED play_dec_secret store\google\Publisher\bin\Debug\Publisher.exe %APPVEYOR_BUILD_FOLDER%\store\google\Publisher\play_creds.json %APPVEYOR_BUILD_FOLDER%\src\Android\bin\Release\com.x8bit.bitwarden-Signed.apk alpha
2017-02-11 07:13:03 +01:00
artifacts:
2017-05-21 19:24:44 +02:00
- path: com.x8bit.bitwarden-%APPVEYOR_BUILD_NUMBER%.apk
branches:
except:
2017-05-21 19:31:55 +02:00
- l10n_master
2017-11-20 22:32:23 +01:00
skip_tags: true
image: Visual Studio 2017