From bd6c68b6db777c91f8629f1d884fcdd7260f4f7e Mon Sep 17 00:00:00 2001 From: Gregor Sindl <10714600+Gh0stWalk3r@users.noreply.github.com> Date: Tue, 6 Aug 2019 10:17:36 +0200 Subject: [PATCH 1/2] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f1b1ebc..3f1fa37 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,6 +9,12 @@ trigger: - develop - release/* +pr: + branches: + include: + - master + - release/* + pool: vmImage: 'windows-latest' @@ -83,3 +89,4 @@ steps: packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;$(Build.ArtifactStagingDirectory)/**/*.snupkg' nuGetFeedType: 'external' publishFeedCredentials: 'NuGet.org' + allowPackageConflicts: true From 0956a5969cafd97948942fadc83814da78dbef8e Mon Sep 17 00:00:00 2001 From: Gregor Sindl <10714600+Gh0stWalk3r@users.noreply.github.com> Date: Tue, 6 Aug 2019 10:27:14 +0200 Subject: [PATCH 2/2] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3f1fa37..34f104e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -86,7 +86,7 @@ steps: condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))) inputs: command: 'push' - packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;$(Build.ArtifactStagingDirectory)/**/*.snupkg' + packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' nuGetFeedType: 'external' publishFeedCredentials: 'NuGet.org' allowPackageConflicts: true