forked from RichardSlater/Markdig.SyntaxHighlighting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
78 lines (64 loc) · 1.9 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
-
branches:
only:
- master
version: 1.1.{build}
# build configurations
configuration: Release
deploy:
- provider: NuGet
api_key:
secure: V5o2cN5k44AUj5QCNS3Cw9dUgH7sp7Enuo9XXslpS+qxLoYh0CIwSHoR5dQB4TFY
skip_symbols: false
artifact: /.*\.nupkg/
# enable AssemblyInfo.cs patching with build version number
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
# restore NuGet packages before running MSBuild
before_build:
- nuget restore src\Markdig.SyntaxHighlighting.sln
cache:
- src\packages -> **\packages.config # preserve "packages" directory
- '%LocalAppData%\NuGet\Cache' # NuGet < v3
- '%LocalAppData%\NuGet\v3-cache' # NuGet v3
build:
# enable MSBuild parallel builds
parallel: true
project: src\Markdig.SyntaxHighlighting.sln
publish_nuget: true
publish_nuget_symbols: true
skip_commits:
files:
- README.md
- LICENSE.md
- LICENSE.txt
- 'assets/**'
- 'scripts/**'
-
version: 1.0.{build}-{branch}
# build configurations
configuration: Release
# enable AssemblyInfo.cs patching with build version number
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
# restore NuGet packages before running MSBuild
before_build:
- nuget restore src\Markdig.SyntaxHighlighting.sln
cache:
- packages -> **\packages.config # preserve "packages" directory
- '%LocalAppData%\NuGet\Cache' # NuGet < v3
- '%LocalAppData%\NuGet\v3-cache' # NuGet v3
build:
# enable MSBuild parallel builds
parallel: true
project: src\Markdig.SyntaxHighlighting.sln
publish_nuget: true
publish_nuget_symbols: true