File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -266,8 +266,16 @@ stages:
266266 echo "$artifactName"
267267 echo "$artifactVersion"
268268 displayName: 'Fetch Artifact Name'
269+ - task : NuGetCommand@2
270+ displayName : ' NuGet push'
271+ inputs :
272+ command : push
273+ packagesToPush : ' $(Pipeline.Workspace)/Nugets/Microsoft.OpenApi.Hidi.*.nupkg'
274+ nuGetFeedType : external
275+ publishFeedCredentials : ' OpenAPI Nuget Connection'
269276 - task : GitHubRelease@1
270277 displayName : ' GitHub release (edit)'
278+ condition : succeededOrFailed()
271279 inputs :
272280 gitHubConnection : ' Github-MaggieKimani1'
273281 action : edit
@@ -277,13 +285,6 @@ stages:
277285 releaseNotesSource : inline
278286 assets : ' $(Pipeline.Workspace)\**\*.exe'
279287 changeLogType : issueBased
280- - task : NuGetCommand@2
281- displayName : ' NuGet push'
282- inputs :
283- command : push
284- packagesToPush : ' $(Pipeline.Workspace)/Nugets/Microsoft.OpenApi.Hidi.*.nupkg'
285- nuGetFeedType : external
286- publishFeedCredentials : ' OpenAPI Nuget Connection'
287288
288289 - deployment : deploy_lib
289290 dependsOn : []
You can’t perform that action at this time.
0 commit comments