Skip to content

Commit

Permalink
Fix NuGet pack Global Tool
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-marichal committed Jun 14, 2024
1 parent d7545aa commit c64f4c9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,10 @@ stages:
Package-NetFrameworkScanner -SignAssemblies $signAssemblies
Package-NetScanner -SignAssemblies $signAssemblies
- task: NuGetCommand@2
- powershell: |
nuget help | Select-String "NuGet Version"
nuget pack 'nuspec\netcoreglobaltool\dotnet-sonarscanner.nuspec' -NonInteractive -OutputDirectory build -Verbosity Detailed
displayName: 'Package dotnet global tool'
inputs:
command: 'pack'
packagesToPack: 'nuspec\netcoreglobaltool\dotnet-sonarscanner.nuspec'
packDestination: 'build'
versioningScheme: 'off'
- task: PowerShell@2
displayName: "Sign NuGet packages"
Expand Down

0 comments on commit c64f4c9

Please sign in to comment.