Skip to content

Commit 2dda82a

Browse files
lekhmanrusRussKie
authored andcommitted
Add NuGet Publish to AppVeyor
1 parent 05278b6 commit 2dda82a

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

appveyor.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ version: 1.3.0.{build}
99
environment:
1010
version_suffix: ''
1111

12-
# Do not build on tags (GitHub and BitBucket)
13-
skip_tags: true
14-
1512
#---------------------------------#
1613
# environment configuration #
1714
#---------------------------------#
1815

16+
nuget:
17+
disable_publish_on_pr: true
18+
1919
# Build worker image (VM template)
2020
image: Visual Studio 2019
2121

@@ -35,7 +35,7 @@ dotnet_csproj:
3535

3636
# scripts to run before build
3737
before_build:
38-
- ps: nuget restore .\GitExtensions.GerritPlugin.sln
38+
- ps: nuget restore .\GitExtensions.GerritPlugin.sln -Verbosity quiet
3939

4040
# build configuration
4141
configuration: Release
@@ -45,10 +45,22 @@ build:
4545
parallel: true
4646
# MSBuild verbosity level
4747
verbosity: quiet
48-
48+
4949
#---------------------------------#
5050
# artifacts configuration #
5151
#---------------------------------#
5252

5353
artifacts:
5454
- 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: qunoLd86DxlOU3P9yfT1CZSHQRV+e2oGIFfcRy+MnxiVYwnjFFkkEKWBtGGMrcBi
63+
skip_symbols: false
64+
on:
65+
branch: master
66+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)