File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,9 @@ trigger:
22 tags :
33 include :
44 - ' *'
5- branches :
6- include :
7- - ' *'
8-
95# This pipeline is meant to build & deploy upon tagging. It's not meant to be a part of PR validation.
106pr : none
117
12- # Enable manual trigger with parameter to skip publishing
13- parameters :
14- - name : skipPublish
15- displayName : ' Skip NuGet Publishing (for testing)'
16- type : boolean
17- default : true
18-
198name : $(Build.SourceBranchName)_$(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
209
2110variables :
@@ -27,7 +16,7 @@ variables:
2716- name : buildConfiguration
2817 value : Release
2918- name : releaseTag
30- value : ' 0.0.0.0 '
19+ value : $(Build.SourceBranchName)
3120
3221stages :
3322- stage : BuildAndPublish
@@ -151,7 +140,6 @@ stages:
151140 displayName : ' Publish NuGet Package as Build Artifact'
152141
153142 - task : NuGetCommand@2
154- condition : and(succeeded(), not(${{ parameters.skipPublish }}))
155143 inputs :
156144 command : ' push'
157145 packagesToPush : ' $(Build.ArtifactStagingDirectory)/nuget/*.nupkg'
You can’t perform that action at this time.
0 commit comments