-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
63 lines (49 loc) · 1.69 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
# version format
version: 0.3.{build}
# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
skip_commits:
message: /NO_BUILD/
image: Visual Studio 2019
install:
# to avoid a build error "project.assets.json not found"
- dotnet restore ./src
# Build settings, not to be confused with "before_build" and "after_build".
# "project" is relative to the original build directory and not influenced by directory changes in "before_build".
build:
parallel: true # enable MSBuild parallel builds
project: src/desh.net.sln # path to Visual Studio solution or project
publish_nuget: true # package projects with .nuspec files and push to artifacts
publish_nuget_symbols: false # generate and publish NuGet symbol packages
# MSBuild verbosity level
verbosity: minimal
deploy:
- provider: NuGet
api_key:
secure: HsYsJEJ+1QjI7I2ZTGzCtwqohFlYK67CUq4xemWtdBfhjOpwdWD7sTNVbcG0Lg32
for:
-
branches:
only:
- master
configuration: Release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
-
configuration: Debug
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}-{branch}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}-{branch}'