From c96b1631e8d0c346566d1b47f9d00ebbbbdf0b07 Mon Sep 17 00:00:00 2001 From: Martin Tirion Date: Thu, 3 Feb 2022 10:18:34 +0100 Subject: [PATCH] Hash to uppercase. Remove VERIFICATION from choco package --- deploy/chocolatey/tools/VERIFICATION | 6 ------ pack.ps1 | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 deploy/chocolatey/tools/VERIFICATION diff --git a/deploy/chocolatey/tools/VERIFICATION b/deploy/chocolatey/tools/VERIFICATION deleted file mode 100644 index 4f94964..0000000 --- a/deploy/chocolatey/tools/VERIFICATION +++ /dev/null @@ -1,6 +0,0 @@ -VERIFICATION -Verification is intended to assist the Chocolatey moderators and community -in verifying that this package's contents are trustworthy. - -This package is published by the DocFx Companion Tools project itself. -The binaries are identical to other package types published by the project. \ No newline at end of file diff --git a/pack.ps1 b/pack.ps1 index 7e70e19..738ae6a 100644 --- a/pack.ps1 +++ b/pack.ps1 @@ -27,7 +27,7 @@ if (-not(Test-Path $solution.assetZipPath)) { & .\build.ps1 } -$hash = (Get-FileHash -Algorithm SHA256 -Path $solution.assetZipPath).Hash.ToLower() +$hash = (Get-FileHash -Algorithm SHA256 -Path $solution.assetZipPath).Hash.ToUpper() $nupkgName = "docfx-companion-tools.$version.nupkg" UpdateChocoConfig $choco.chocoScript $choco.nuspec $version $hash