1- version : ' {build}'
1+ # ---------------------------------#
2+ # general configuration #
3+ # ---------------------------------#
24
3- image : Visual Studio 2017
5+ # version format
6+ version : 1.0.0.{build}
7+
8+ # version suffix, if any (e.g. '-RC1', '-beta' otherwise '')
9+ environment :
10+ version_suffix : ' -RC1'
11+
12+ # Do not build on tags (GitHub and BitBucket)
13+ skip_tags : true
14+
15+ # Maximum number of concurrent jobs for the project
16+ max_jobs : 1
17+
18+ # ---------------------------------#
19+ # environment configuration #
20+ # ---------------------------------#
21+
22+ # Build worker image (VM template)
23+ image :
24+ - Visual Studio 2017
25+ - Visual Studio 2019
26+
27+ # enable patching of Directory.Build.props
28+ dotnet_csproj :
29+ patch : true
30+ file : ' **\*.props'
31+ version : ' {version}'
32+ assembly_version : ' {version}'
33+ file_version : ' {version}'
34+ informational_version : ' {version}$(version_suffix)'
35+ package_version : ' {version}$(version_suffix)'
36+
37+ # ---------------------------------#
38+ # build configuration #
39+ # ---------------------------------#
440
541build_script :
642- ps : .\tools\Prepare-Release.ps1
743
44+ # ---------------------------------#
45+ # tests configuration #
46+ # ---------------------------------#
47+
848test_script :
949- ps : .\tools\Run-Tests.ps1
1050
51+ # ---------------------------------#
52+ # artifacts configuration #
53+ # ---------------------------------#
54+
1155artifacts :
1256- path : .\*.zip
1357- path : .\*.nupkg
1458
59+ # ---------------------------------#
60+ # deployment configuration #
61+ # ---------------------------------#
62+
1563# Commented out as we need to create a new signing policy.
1664# deploy:
1765# - provider: Webhook
@@ -23,4 +71,4 @@ artifacts:
2371# on_build_status_changed: false
2472# method: POST
2573# authorization:
26- # secure: RdmJQ3LAsGIbtqbxlcn7wF8ESTbPSDiR0Fmyt11mDl+avSDd0HKexHA+sWQA3cN1K8aVnKTzvjGTQS8DSDmLzQ==
74+ # secure: RdmJQ3LAsGIbtqbxlcn7wF8ESTbPSDiR0Fmyt11mDl+avSDd0HKexHA+sWQA3cN1K8aVnKTzvjGTQS8DSDmLzQ==
0 commit comments