Skip to content

Commit 54c7a8a

Browse files
committed
Publish to NuGet on tag
1 parent e4eb8c8 commit 54c7a8a

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
@@ -3,15 +3,15 @@
33
#---------------------------------#
44

55
# version format
6-
version: 0.1.1.{build}
7-
8-
# Do not build on tags (GitHub and BitBucket)
9-
skip_tags: true
6+
version: 0.2.0.{build}
107

118
#---------------------------------#
129
# environment configuration #
1310
#---------------------------------#
1411

12+
nuget:
13+
disable_publish_on_pr: true
14+
1515
# Build worker image (VM template)
1616
image:
1717
- Visual Studio 2019
@@ -26,4 +26,16 @@ build_script:
2626
# artifacts #
2727
#---------------------------------#
2828
artifacts:
29-
- path: .\GitExtensions.Extensibility.*.nupkg
29+
- path: .\GitExtensions.Extensibility.*.nupkg
30+
name: NuGet
31+
32+
deploy:
33+
- provider: NuGet
34+
name: production
35+
artifact: /GitExtensions.Extensibility.*\.nupkg/
36+
api_key:
37+
secure: DvVb/qMGNgD0/vGhMyz4V8o/m98loHN/tr+bKGGxaizrn54gKoRyHOwsYTShtmX6
38+
skip_symbols: false
39+
on:
40+
branch: master
41+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)