|
1 | | -#---------------------------------# |
2 | | -# general configuration # |
3 | | -#---------------------------------# |
4 | | - |
5 | | -# version format |
6 | | -version: 3.1.1.{build} |
7 | | - |
8 | | -# version suffix, if any (e.g. '-RC1', '-beta' otherwise '') |
9 | | -environment: |
10 | | - version_suffix: '' |
11 | | - |
12 | | -#---------------------------------# |
13 | | -# environment configuration # |
14 | | -#---------------------------------# |
15 | | - |
16 | | -nuget: |
17 | | - disable_publish_on_pr: true |
18 | | - |
19 | | -# Build worker image (VM template) |
20 | | -image: Visual Studio 2022 |
21 | | - |
22 | | -# enable patching of Directory.Build.props |
23 | | -dotnet_csproj: |
24 | | - patch: true |
25 | | - file: '**\*.props' |
26 | | - version: '{version}' |
27 | | - assembly_version: '{version}' |
28 | | - file_version: '{version}' |
29 | | - informational_version: '{version}$(version_suffix)' |
30 | | - package_version: '{version}$(version_suffix)' |
31 | | - |
32 | | -#---------------------------------# |
33 | | -# build configuration # |
34 | | -#---------------------------------# |
35 | | - |
36 | | -# scripts to run before build |
37 | | -before_build: |
38 | | -- ps: nuget restore .\GitExtensions.GerritPlugin.sln -Verbosity quiet |
39 | | - |
40 | | -# build configuration |
41 | | -configuration: Release |
42 | | - |
43 | | -build: |
44 | | - # enable MSBuild parallel builds |
45 | | - parallel: true |
46 | | - # MSBuild verbosity level |
47 | | - verbosity: quiet |
48 | | - |
49 | | -#---------------------------------# |
50 | | -# artifacts configuration # |
51 | | -#---------------------------------# |
52 | | - |
53 | | -artifacts: |
54 | | -- path: '**\GitExtensions.GerritPlugin.*.nupkg' |
55 | | - name: NuGet |
56 | | - |
57 | | -deploy: |
58 | | -- provider: NuGet |
59 | | - name: production |
60 | | - artifact: /GitExtensions.GerritPlugin.*\.nupkg/ |
61 | | - api_key: |
62 | | - secure: IlLI/MbhdzmXF/WB2G84zYsDWePXJqHBWDb1zBPxxXvGgx0WRxzMZxuBsvCOcZvbPTRF+UcGp0d5/HT8xZUEjA== |
63 | | - skip_symbols: false |
64 | | - on: |
65 | | - appveyor_repo_tag: true |
| 1 | +#---------------------------------# |
| 2 | +# general configuration # |
| 3 | +#---------------------------------# |
| 4 | + |
| 5 | +# version format |
| 6 | +version: 3.1.2.{build} |
| 7 | + |
| 8 | +# version suffix, if any (e.g. '-RC1', '-beta' otherwise '') |
| 9 | +environment: |
| 10 | + version_suffix: '' |
| 11 | + |
| 12 | +#---------------------------------# |
| 13 | +# environment configuration # |
| 14 | +#---------------------------------# |
| 15 | + |
| 16 | +nuget: |
| 17 | + disable_publish_on_pr: true |
| 18 | + |
| 19 | +# Build worker image (VM template) |
| 20 | +image: Visual Studio 2022 |
| 21 | + |
| 22 | +# enable patching of Directory.Build.props |
| 23 | +dotnet_csproj: |
| 24 | + patch: true |
| 25 | + file: '**\*.props' |
| 26 | + version: '{version}' |
| 27 | + assembly_version: '{version}' |
| 28 | + file_version: '{version}' |
| 29 | + informational_version: '{version}$(version_suffix)' |
| 30 | + package_version: '{version}$(version_suffix)' |
| 31 | + |
| 32 | +#---------------------------------# |
| 33 | +# build configuration # |
| 34 | +#---------------------------------# |
| 35 | + |
| 36 | +# scripts to run before build |
| 37 | +before_build: |
| 38 | +- ps: nuget restore .\GitExtensions.GerritPlugin.sln -Verbosity quiet |
| 39 | + |
| 40 | +# build configuration |
| 41 | +configuration: Release |
| 42 | + |
| 43 | +build: |
| 44 | + # enable MSBuild parallel builds |
| 45 | + parallel: true |
| 46 | + # MSBuild verbosity level |
| 47 | + verbosity: quiet |
| 48 | + |
| 49 | +#---------------------------------# |
| 50 | +# artifacts configuration # |
| 51 | +#---------------------------------# |
| 52 | + |
| 53 | +artifacts: |
| 54 | +- path: '**\GitExtensions.GerritPlugin.*.nupkg' |
| 55 | + name: NuGet |
| 56 | + |
| 57 | +deploy: |
| 58 | +- provider: NuGet |
| 59 | + name: production |
| 60 | + artifact: /GitExtensions.GerritPlugin.*\.nupkg/ |
| 61 | + api_key: |
| 62 | + secure: bDAN6/r3TI7uQ3ehsIzOqbXwu3tCKfGJrE88/srPDLcPiaqEA3dr8/xSQL/bzD5D |
| 63 | + skip_symbols: false |
| 64 | + on: |
| 65 | + appveyor_repo_tag: true |
0 commit comments