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