-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
91 lines (71 loc) · 1.75 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
88
89
90
91
# configuration for "master" branch
# build in Release mode and deploy to nuget
-
branches:
only:
- master
version: 2.1.{build}
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
before_build:
- cmd: nuget restore
build:
publish_nuget: true
verbosity: normal
deploy:
- provider: NuGet
server: https://nuget.org
api_key:
secure: 74aGO6tf6vNU0RRESbiWpDc10ZzZMETG02KpQedI/Ecnnx8yMoZknu/SdUP0BaMk
# configuration for all branches starting from "dev-"
# build in Debug mode and deploy locally for testing
-
branches:
only:
- /dev-.*/
- /dev.*/
version: 2.1.{build}
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
before_build:
- cmd: nuget restore
build:
publish_nuget: true
verbosity: normal
-
branches:
only:
- /release-.*/
version: 2.1.{build}-rc
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
before_build:
- cmd: nuget restore
build:
publish_nuget: true
verbosity: normal
deploy:
- provider: NuGet
server: https://nuget.org
api_key:
secure: 74aGO6tf6vNU0RRESbiWpDc10ZzZMETG02KpQedI/Ecnnx8yMoZknu/SdUP0BaMk
# "fall back" configuration for all other branches
# no "branches" section defined
# do not deploy at all
-
configuration: Release