-
Notifications
You must be signed in to change notification settings - Fork 31
/
appveyor.yml
30 lines (27 loc) · 1.02 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: 2.0.34.{build}
environment:
my_version: 2.0.34.2
my_secret:
secure: 5qtuEW0UQ/IEO8DRi4/y3EgEBoJDM/HyYpPgzasIlm0=
skip_branch_with_pr: true
image: Visual Studio 2017
clone_folder: c:\projects\ILRepack.Lib.MSBuild.Task
platform: Any CPU
configuration: Release
install:
- nuget install secure-file -ExcludeVersion
before_build:
- cmd: nuget restore
- secure-file\tools\secure-file -decrypt "c:\projects\ILRepack.Lib.MSBuild.Task\ILRepack.Lib.MSBuild.Task\ILRepack.Lib.MSBuild.Task.snk.enc" -secret %my_secret%
artifacts:
- path: ILRepack.Lib.MSBuild.Task\bin\Release\net472\ILRepack.Lib.MSBuild.Task.%my_version%.nupkg
name: ILRepack.Lib.MSBuild.Task.%my_version%.nupkg
deploy:
- provider: NuGet
api_key:
secure: nkE/u7bLXRlBGJEKORohjPizTbDTdypw5jeTfJyzNd4scE6W9c6wFfT8f4UXdNKx
skip_symbols: false
artifact: ILRepack.Lib.MSBuild.Task.%my_version%.nupkg
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only