try to fix pack command
c0b6170e
Pedro Silva
committed
1 changed file
pack-nuget.yml
/build-templates/libraries/pack-nuget.yml-2+4
/build-templates/libraries/pack-nuget.yml
Add comment 7 displayName: 'Package NuGet - ${{ parameters.buildConfiguration }}'
Add comment 8 inputs:
Add comment 9 command: 'pack'
Add comment 10 Minus   arguments: '--no-restore --no-build --configuration ${{ parameters.buildConfiguration }} --verbosity Normal'
Add comment 11 Minus   projects: '**/*.csproj;!**/*.*Tests.csproj'
Add comment 10 Plus   projects: |
Add comment 11 Plus   **/*.csproj
Add comment 12 Plus   !**/*.*Test*.csproj
Add comment 13 Plus   arguments: '--no-restore --no-build --configuration ${{ parameters.buildConfiguration }} --verbosity normal'
Add comment 12 14 # publishes them to the drop/packages folder.
Add comment 13 15 outputDir: '$(Build.ArtifactStagingDirectory)/packages'
Add comment 14 16 # uses the build number in the pipeline's name as the package version number.