Skip to content

Commit

Permalink
Merge pull request #1724 from riganti/fix/signing
Browse files Browse the repository at this point in the history
Fixed .NET Foundation package signing
  • Loading branch information
tomasherceg authored Oct 22, 2023
2 parents 0f371aa + 43dfc2d commit 1e179e2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ci/scripts/Publish-NuGetPackages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ function Set-AllPackageSignatures {
if ($signatureType -eq "DotNetFoundation") {
dotnet sign code azure-key-vault `
"$package" `
--baseDirectory "$root/artifacts/packages" `
--base-directory "$root/artifacts/packages" `
--publisher-name "DotVVM" `
--description "$("$packageName" + " " + $env:DOTVVM_VERSION)" `
--descriptionUrl "https://github.com/riganti/dotvvm" `
--description-url "https://github.com/riganti/dotvvm" `
--azure-key-vault-url "$dnfUrl" `
--azure-key-vault-client-id "$dnfClientId" `
--azure-key-vault-tenant-id "$dnfTenantId" `
Expand All @@ -114,6 +114,9 @@ function Set-AllPackageSignatures {
else {
throw "$signatureType is not a valid signature type"
}
if ($LastExitCode -ne 0) {
throw "Signing failed"
}
}
}
finally {
Expand Down

0 comments on commit 1e179e2

Please sign in to comment.