Releases are cut from a version-bumped, green main commit. Publishing a
GitHub release triggers Linux package, RPM, and AUR automation.
-
Bump
workspace.package.versioninCargo.tomland refreshCargo.lock:cargo check -p limux-protocol ./scripts/check.sh
-
Merge the version bump through a pull request and wait for the
mainRust Qualityrun to pass. -
Publish the release at that exact merge commit:
version=$(sed -n 's/^version = "\([^"]*\)"/\1/p' Cargo.toml | head -1) sha=$(gh api repos/am-will/limux/commits/main --jq .sha) gh release create "v$version" \ --repo am-will/limux \ --target "$sha" \ --title "Limux v$version" \ --generate-notes
-
Wait for
Build Linux Release PackagesandBuild RPM Package. A successful tagged Linux build triggersPublish to AUR. -
Verify release contains tarball, Debian package, AppImage, and RPM. Confirm AUR
limux-binreports matching version.
Both package workflows support manual dispatch. Select release tag as workflow ref and provide matching version:
gh workflow run release-linux.yml --ref v0.1.22 -f version=0.1.22
gh workflow run release-rpm.yml --ref v0.1.22 -f version=0.1.22scripts/validate-release-version.sh rejects malformed versions and mismatches
between workflow input, package version, and checked-out Cargo workspace.