From 5f3145837b1a626140f4d4f74f4be309fb1b29ca Mon Sep 17 00:00:00 2001 From: David Barbet Date: Mon, 19 Jun 2023 11:22:07 -0700 Subject: [PATCH] Allow retry of publish steps --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6b3c49bedd..47bf25961d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -151,6 +151,7 @@ jobs: nuGetFeedType: internal packagesToPush: "$(System.ArtifactsDirectory)/nuget/**/*.nupkg" publishVstsFeed: Builds/omnisharp + allowPackageConflicts: true condition: and(succeeded(), or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['Build.SourceBranch'], 'refs/heads/master'))) - task: NuGetCommand@2 displayName: "Push NuGet packages to nuget.org" @@ -159,6 +160,7 @@ jobs: nuGetFeedType: external packagesToPush: "$(System.ArtifactsDirectory)/nuget/**/*.nupkg" publishFeedCredentials: nuget.org + allowPackageConflicts: true condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v')) - script: | AZ_REPO=$(lsb_release -cs)