Skip to content

Commit 3de81a1

Browse files
Add the NuGet push command
1 parent 1c4e48a commit 3de81a1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.pipelines/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,12 @@ extends:
157157
Get-ChildItem "$(Pipeline.Workspace)/release" -recurse
158158
displayName: Download and capture nupkgs
159159

160-
# - task: NuGetCommand@2
161-
# displayName: 'NuGet push'
162-
# condition: and(eq('${{ parameters.OfficialBuild }}', 'true'), succeeded())
163-
# inputs:
164-
# command: push
165-
# packagesToPush: '$(Pipeline.Workspace)/release/*.nupkg'
166-
# nuGetFeedType: external
167-
# publishFeedCredentials: PowerShellNuGetOrgPush
160+
- task: NuGetCommand@2
161+
displayName: 'NuGet push'
162+
condition: and(eq('${{ parameters.OfficialBuild }}', 'true'), succeeded())
163+
inputs:
164+
command: push
165+
packagesToPush: '$(Pipeline.Workspace)\release\*.nupkg'
166+
nuGetFeedType: external
167+
publishFeedCredentials: PowerShellNuGetOrgPush
168168

0 commit comments

Comments
 (0)