Add one-command installers and sync version with release tags - #5
Merged
Conversation
Bump the package version to 0.5.0 to match the latest published release tag, add a --version flag backed by Paths_cert_prep, and add a release-workflow guard that fails the build when the pushed tag does not match the version in package.yaml. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Adopt binstaller for Unix-like systems: .config/binstaller.yml maps the existing release asset names and install.sh is generated from it via `binst gen` (regenerate only when the config changes; the script is version-independent because asset names carry no version). Add a hand-written install.ps1 for native Windows. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.config/binstaller.ymlmaps existing release asset names,install.shis generated viabinst gen(version-independent, regenerate only if config changes).install.ps1for native Windows PowerShell installs.package.yamlfrom0.1.0.0to0.5.0(matching the latest published tag); add a--versionflag; add a CI tag guard that fails the release if the tag doesn't matchv<package.yaml version>.--versionto the options table and explanation-scrolling keys to Controls.Test plan
binst checkvalidates config against real v0.5.0 release assetssh install.sh -b <dir>downloads and installs the macOS aarch64 release binarycabal build && cabal run cert-prep -- --versionprints0.5.0cabal testpasses (126 examples, 0 failures)v0.0.99) to exercise the negative path (tag guard gates the build, no release created)Notes
.github/workflows/release.ymlbeyond adding the tag guard job; asset naming and release creation remain untouched.🤖 Generated with Claude Code