Skip to content
This repository was archived by the owner on Jun 29, 2019. It is now read-only.

Commit 284d2e2

Browse files
Merge pull request #11 from RadicalFx/publish-tag-on-release
Update appveyor.yml
2 parents 72b96f0 + d05fbad commit 284d2e2

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

appveyor.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@
77
only:
88
- develop
99

10+
skip_tags: true
1011
configuration: Debug
1112
platform: Any CPU
1213

13-
environment:
14-
use_build_number_in_packages: true
15-
1614
artifacts:
1715
- path: src\build\Debug
1816
- path: src\build\nuget\*.nupkg
@@ -31,9 +29,6 @@
3129
- md "src\build\nuget"
3230
- nuget pack "src\nuget\Radical.Windows.Presentation.Unity3.nuspec" -Version "%GitVersion_NuGetVersion%" -Properties "configuration=%CONFIGURATION%" -OutputDirectory "src\build\nuget"
3331

34-
pull_requests:
35-
do_not_increment_build_number: true
36-
3732
test:
3833
categories:
3934
except:
@@ -54,12 +49,10 @@
5449
only:
5550
- master
5651

52+
skip_tags: true
5753
configuration: Release
5854
platform: Any CPU
5955

60-
environment:
61-
use_build_number_in_packages: true
62-
6356
artifacts:
6457
- path: src\build\Release
6558
- path: src\build\nuget\*.nupkg
@@ -78,9 +71,6 @@
7871
- md "src\build\nuget"
7972
- nuget pack "src\nuget\Radical.Windows.Presentation.Unity3.nuspec" -Version "%GitVersion_NuGetVersion%" -Properties "configuration=%CONFIGURATION%" -OutputDirectory "src\build\nuget"
8073

81-
pull_requests:
82-
do_not_increment_build_number: true
83-
8474
test:
8575
categories:
8676
except:
@@ -91,4 +81,12 @@
9181
- provider: Environment
9282
name: NuGet public feed
9383
on:
94-
branch: master
84+
branch: master
85+
- provider: GitHub
86+
release: $(GitVersion_NuGetVersion)
87+
description: 'Release v$(GitVersion_NuGetVersion)'
88+
auth_token:
89+
secure: 2ijF4OfPYfIUTunubL/Z04ogADL9sx/gKW1jMRNJnAa1OpHZpSvCKmP0gvNs8C7h
90+
artifact: /.*\.nupkg/, src\build\Release.zip
91+
on:
92+
branch: master

0 commit comments

Comments
 (0)