2018-04-20 10:12:47 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- release
|
|
|
|
skip_tags: true
|
|
|
|
skip_branch_with_pr: true
|
2018-04-19 08:15:06 +00:00
|
|
|
clone_depth: 1
|
|
|
|
version: '{branch}-{build}'
|
|
|
|
image: Visual Studio 2017
|
|
|
|
configuration: Debug
|
|
|
|
cache:
|
|
|
|
- packages -> **\packages.config
|
|
|
|
install:
|
|
|
|
- cmd: git submodule update --init --recursive --depth=5
|
|
|
|
before_build:
|
|
|
|
- cmd: nuget restore -verbosity quiet
|
|
|
|
build:
|
|
|
|
project: osu.Desktop.Deploy/osu.Desktop.Deploy.csproj
|
|
|
|
verbosity: minimal
|
|
|
|
after_build:
|
|
|
|
- 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-04-20 05:41:57 +00:00
|
|
|
- cmd: appveyor-tools\secure-file -decrypt fdc6f19b04.enc -secret %decode_secret% -out osu.Desktop.Deploy\bin\Debug\net471\osu.Desktop.Deploy.exe.config
|
|
|
|
- cd osu.Desktop.Deploy\bin\Debug\net471\
|
2018-04-19 08:15:06 +00:00
|
|
|
- osu.Desktop.Deploy.exe %code_signing_password%
|
|
|
|
environment:
|
2018-04-20 05:41:57 +00:00
|
|
|
TargetFramework: net471
|
2018-04-19 08:15:06 +00:00
|
|
|
decode_secret:
|
|
|
|
secure: i67IC2xj6DjjxmA6Oj2jing3+MwzLkq6CbGsjfZ7rdY=
|
|
|
|
code_signing_password:
|
|
|
|
secure: 34tLNqvjmmZEi97MLKfrnQ==
|
2018-04-19 08:42:06 +00:00
|
|
|
artifacts:
|
|
|
|
- path: 'Releases\*'
|