diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0c790d50..78716ca4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -111,10 +111,11 @@ jobs:
- name: Create chocolatey version
run: |
+ $winVersionChecksum = (Get-FileHash "artifacts/zips/NVika.win-x86.${{ steps.gitversion.outputs.nuGetVersionV2 }}.zip" -Algorithm SHA256).Hash
mkdir ./artifacts/chocolatey
$installPath = "chocolatey/tools/chocolateyInstall.ps1"
$originalContent = Get-Content $installPath
- $originalContent.replace('[version]', "${{ steps.gitversion.outputs.nuGetVersionV2 }}") | Set-Content $installPath
+ $originalContent.replace('[version]', "${{ steps.gitversion.outputs.nuGetVersionV2 }}").replace('[checksum]', $winVersionChecksum) | Set-Content $installPath
choco pack chocolatey/nvika.nuspec --version ${{ steps.gitversion.outputs.nuGetVersionV2 }} --outdir artifacts/chocolatey
Set-Content $installPath $originalContent
diff --git a/chocolatey/nvika.nuspec b/chocolatey/nvika.nuspec
index 38e4e1c9..d4ea3a07 100644
--- a/chocolatey/nvika.nuspec
+++ b/chocolatey/nvika.nuspec
@@ -11,7 +11,8 @@
https://cdn.rawgit.com/laedit/vika/master/resources/icon.png
https://github.com/laedit/vika/tree/master/chocolatey
false
- Parse analysis reports (InspectCode, ...) and send messages to build server or console.
+ Parse analysis reports (InspectCode, Gendarme, Roslyn Analyzers...) and send messages to build server or console.
+ Parse analysis reports and send messages to build server or console.
https://github.com/laedit/vika/releases
report parsing build server inspectcode FxCop SARIF Roslyn Gendarme
diff --git a/chocolatey/tools/chocolateyInstall.ps1 b/chocolatey/tools/chocolateyInstall.ps1
index 727a59ca..cb44091f 100644
--- a/chocolatey/tools/chocolateyInstall.ps1
+++ b/chocolatey/tools/chocolateyInstall.ps1
@@ -1,4 +1,4 @@
$packageName = 'NVika'
$url = 'https://github.com/laedit/Vika/releases/download/v[version]/NVika.win-x86.[version].zip'
-Install-ChocolateyZipPackage "$packageName" "$url" "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
+Install-ChocolateyZipPackage -PackageName "$packageName" -Url "$url" -UnzipLocation "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" -Checksum '[checksum]' -ChecksumType 'sha256'