2018-04-19 08:15:06 +00:00
|
|
|
clone_depth: 1
|
2018-06-05 09:52:39 +00:00
|
|
|
version: '{build}'
|
|
|
|
skip_non_tags: true
|
2018-04-19 08:15:06 +00:00
|
|
|
image: Visual Studio 2017
|
|
|
|
install:
|
2018-06-05 09:52:39 +00:00
|
|
|
- git clone https://github.com/ppy/osu-deploy
|
2018-04-19 08:15:06 +00:00
|
|
|
before_build:
|
2018-06-05 09:52:39 +00:00
|
|
|
- ps: if($env:appveyor_repo_tag -eq 'True') { Update-AppveyorBuild -Version $env:appveyor_repo_tag_name }
|
|
|
|
- cmd: git submodule update --init --recursive --depth=5
|
2018-04-19 08:15:06 +00:00
|
|
|
- cmd: nuget restore -verbosity quiet
|
2018-06-05 09:52:39 +00:00
|
|
|
build_script:
|
2018-04-19 08:15:06 +00:00
|
|
|
- ps: iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1'))
|
|
|
|
- appveyor DownloadFile https://puu.sh/A6g5K/4d08705438.enc # signing certificate
|
|
|
|
- cmd: appveyor-tools\secure-file -decrypt 4d08705438.enc -secret %decode_secret% -out %HOMEPATH%\deanherbert.pfx
|
|
|
|
- appveyor DownloadFile https://puu.sh/A6g75/fdc6f19b04.enc # deploy configuration
|
2018-06-05 09:52:39 +00:00
|
|
|
- cd osu-deploy
|
|
|
|
- nuget restore -verbosity quiet
|
|
|
|
- msbuild osu.Desktop.Deploy.csproj
|
2018-08-01 13:07:39 +00:00
|
|
|
- cmd: ..\appveyor-tools\secure-file -decrypt ..\fdc6f19b04.enc -secret %decode_secret% -out bin\Debug\netcoreapp2.1\osu.Desktop.Deploy.dll.config
|
|
|
|
- dotnet bin/Debug/netcoreapp2.1/osu.Desktop.Deploy.dll %code_signing_password% %APPVEYOR_REPO_TAG_NAME%
|
2018-04-19 08:15:06 +00:00
|
|
|
environment:
|
|
|
|
decode_secret:
|
|
|
|
secure: i67IC2xj6DjjxmA6Oj2jing3+MwzLkq6CbGsjfZ7rdY=
|
|
|
|
code_signing_password:
|
|
|
|
secure: 34tLNqvjmmZEi97MLKfrnQ==
|
2018-04-19 08:42:06 +00:00
|
|
|
artifacts:
|
2018-08-01 13:34:45 +00:00
|
|
|
- path: 'osu-deploy/releases/*'
|
2018-06-05 09:52:39 +00:00
|
|
|
deploy:
|
|
|
|
- provider: Environment
|
|
|
|
name: github
|