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 authored and costin-zaharia-sonarsource committed Jun 18, 2024
1 parent e96209a commit 71fb1b3
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 @@ -185,13 +185,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'

- powershell: |
nuget sign "$env:PACKAGES_PATH" -Overwrite -HashAlgorithm SHA256 -CertificateFingerprint $(SM_CERT_FP) -Timestamper http://timestamp.digicert.com -TimestampHashAlgorithm SHA256
Expand Down

0 comments on commit 71fb1b3

Please sign in to comment.