Skip to content

Commit 5dbf734

Browse files
Remove workflow dispatch and releaseTag changes, keep only signtool.exe discovery improvements
Co-authored-by: turbobobbytraykov <[email protected]>
1 parent b6ed708 commit 5dbf734

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

azure-pipelines/build-and-publish.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff 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.
106
pr: 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-
198
name: $(Build.SourceBranchName)_$(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
209

2110
variables:
@@ -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

3221
stages:
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'

0 commit comments

Comments
 (0)