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

+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>mcl-launcher</id>
<version>0.0.0</version>
<packageSourceUrl>https://github.com/objz/mcl</packageSourceUrl>
<owners>objz</owners>
<title>mcl-launcher</title>
<authors>objz</authors>
<projectUrl>https://github.com/objz/mcl</projectUrl>
<licenseUrl>https://github.com/objz/mcl/blob/master/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<projectSourceUrl>https://github.com/objz/mcl</projectSourceUrl>
<docsUrl>https://github.com/objz/mcl#readme</docsUrl>
<bugTrackerUrl>https://github.com/objz/mcl/issues</bugTrackerUrl>
<tags>minecraft launcher cli tui rust</tags>
<summary>Minecraft launcher TUI</summary>
<description>A fully featured Minecraft launcher TUI with Microsoft account authentication, instance management, mod loaders, imports, content management, and launch support.</description>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
+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