From 6bdf68366b3ed9577467658a6def2bf62f92db75 Mon Sep 17 00:00:00 2001 From: dlebee <36390643+dlebee@users.noreply.github.com> Date: Fri, 13 Mar 2020 12:00:31 -0400 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 063ec8a..88760f7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -30,10 +30,16 @@ steps: - task: DotNetCoreCLI@2 inputs: - command: 'push' - packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' + command: 'pack' + packagesToPack: '**/*.csproj' + includesymbols: true + includesource: true versioningScheme: 'byEnvVar' versionEnvVar: 'GitVersion.NuGetVersion' - nuGetFeedType: 'external' - publishFeedCredentials: 'PoweredSoftNuget' +- task: DotNetCoreCLI@2 + inputs: + command: 'push' + packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' + nuGetFeedType: 'external' + publishFeedCredentials: 'PoweredSoftNuget' \ No newline at end of file