-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
87 lines (68 loc) · 1.8 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# configuration for "master" branch
- branches:
only:
- master
version: 1.2.{build}
image: Visual Studio 2017
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
configuration:
- Release
environment:
TreatWarningsAsErrors: false
skip_tags: true
cache:
- packages -> **\packages.config
before_build:
- dotnet restore SS.Poll.sln
build:
project: SS.Poll.sln # path to Visual Studio solution or project
publish_nuget: true
deploy:
provider: NuGet
server: # remove to push to NuGet.org
api_key:
secure: AtMC4UpS2DWAJIibboq8qPdfBJFvoiPsO7KYNZ5Dpfe7Cr/X+5wV0cLx3Nl9QZCl
skip_symbols: false
symbol_server: # remove to push symbols to SymbolSource.org
artifact: /.*\.nupkg/
# configuration for "dev" branch
- branches:
only:
- dev
version: 1.2.{build}-beta
image: Visual Studio 2017
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
configuration:
- Release
environment:
TreatWarningsAsErrors: false
skip_tags: true
cache:
- packages -> **\packages.config
before_build:
- dotnet restore SS.Poll.sln
build:
project: SS.Poll.sln # path to Visual Studio solution or project
publish_nuget: true
deploy:
provider: NuGet
server: # remove to push to NuGet.org
api_key:
secure: AtMC4UpS2DWAJIibboq8qPdfBJFvoiPsO7KYNZ5Dpfe7Cr/X+5wV0cLx3Nl9QZCl
skip_symbols: false
symbol_server: # remove to push symbols to SymbolSource.org
artifact: /.*\.nupkg/