generated from gitextensions/gitextensions.plugintemplate
-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
65 lines (52 loc) · 1.5 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
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 3.0.0.{build}
# version suffix, if any (e.g. '-RC1', '-beta' otherwise '')
environment:
version_suffix: ''
#---------------------------------#
# environment configuration #
#---------------------------------#
nuget:
disable_publish_on_pr: true
# Build worker image (VM template)
image: Visual Studio 2022
# enable patching of Directory.Build.props
dotnet_csproj:
patch: true
file: '**\*.props'
version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}$(version_suffix)'
package_version: '{version}$(version_suffix)'
#---------------------------------#
# build configuration #
#---------------------------------#
# scripts to run before build
before_build:
- ps: nuget restore .\GitExtensions.GerritPlugin.sln -Verbosity quiet
# build configuration
configuration: Release
build:
# enable MSBuild parallel builds
parallel: true
# MSBuild verbosity level
verbosity: quiet
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: '**\GitExtensions.GerritPlugin.*.nupkg'
name: NuGet
deploy:
- provider: NuGet
name: production
artifact: /GitExtensions.GerritPlugin.*\.nupkg/
api_key:
secure: 2apdS3bqaEv20ai12PU9uXaF6w/INNVLyvFV7EdGyK8Uxdwk6KAKDuJySbmi/4uO
skip_symbols: false
on:
appveyor_repo_tag: true