-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
66 lines (52 loc) · 1.42 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
# common configuration
environment:
project_version: '3.0.4'
project_informational_version: '$(project_version)'
project_version_is_prerelease: false
version: '$(project_version).{build}'
image: Visual Studio 2017
skip_tags: true
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '$(project_informational_version)'
package_version: '$(project_informational_version)'
assembly_version: '$(project_version)'
file_version: '{version}'
informational_version: '$(project_informational_version)'
nuget:
disable_publish_on_pr: true
project_feed: true
before_build:
- cmd: dotnet restore
build:
publish_nuget: true
verbosity: normal
for:
-
branches:
only:
- production
configuration: Release
deploy:
- provider: NuGet
api_key:
secure: AjuAoTW1aeNJE9hlLbZafvXoiT83LOqjevO9DuTJS9oZdvp3QN7mCEFP9Dqysuyl
skip_symbols: false
- provider: GitHub
tag: 'v$(project_informational_version)'
auth_token:
secure: 9F8Uho8Ir0uU1TQUFDOb6MzZTmPr7fnHw4UowLPiNsMtxf/WXb0ODVvjEnsaiaKt
prerelease: $(project_version_is_prerelease)
#development configuration (build)
-
branches:
only:
- master
environment:
project_dev_version: '$(project_informational_version)-dev'
configuration: Debug
dotnet_csproj:
version: '$(project_dev_version).{build}'
package_version: '$(project_dev_version).{build}'
informational_version: '$(project_dev_version).{build}'