ci: add release packaging

This commit is contained in:
objz committed 2026-04-26 21:22:01 +02:00
1 parent 33b2d856bc
commit 441607f0da
18 files changed
+1056 -208

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
VERIFICATION
This package downloads the official MSI from the GitHub release:
https://github.com/objz/mcl/releases/download/__TAG__/mcl-launcher-x86_64-pc-windows-msvc.msi
The SHA256 checksum is generated by cargo-dist and published next to the release asset:
https://github.com/objz/mcl/releases/download/__TAG__/mcl-launcher-x86_64-pc-windows-msvc.msi.sha256
Expected SHA256:
__CHECKSUM64__
@@ -0,0 +1,14 @@
$ErrorActionPreference = 'Stop'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
url64bit = 'https://github.com/objz/mcl/releases/download/__TAG__/mcl-launcher-x86_64-pc-windows-msvc.msi'
softwareName = 'mcl-launcher*'
checksum64 = '__CHECKSUM64__'
checksumType64 = 'sha256'
silentArgs = '/quiet /norestart'
validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyPackage @packageArgs