chore(release): prefix --version + release artifacts with v; cut v0.2.1#38
Merged
Conversation
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
Adopts a
vprefix consistently across the public version surface so binary, release tag, and release-asset filenames all agree. No behaviour or wire-format changes.Cuts v0.2.1.
Why
The release tag has always been
vX.Y.Z, the binary's--versionprintedligate X.Y.Z, and asset filenames wereligate-cli-X.Y.Z-PLATFORM.tar.gz. Three different spellings of the same version was confusing; the README install snippet also drifted from the actual asset filename pattern (missing thecli-infix), so the documentedcurlURL 404'd.Diff
.github/workflows/release.ymlVERSION="${VERSION#v}"strip in "Compute version". Tag is used verbatim; assets becomeligate-cli-vX.Y.Z-PLATFORM.tar.gz.src/cli.rsversion,withversion = concat!("v", env!("CARGO_PKG_VERSION")).ligate --versionnow printsligate vX.Y.Z.README.mdligate-→ligate-cli-), platform list trimmed to the three actually built (nodarwin-amd64), example + "Current release" bumped tov0.2.1.Cargo.toml+Cargo.lock0.2.0→0.2.1.CHANGELOG.md[0.2.1]entry.Test plan
cargo fmt --checkclean (pre-commit gated too)v0.2.1: release workflow producesligate-cli-v0.2.1-linux-amd64.tar.gz(and arm64 + darwin-arm64 siblings, plus.sha256sidecars)ligate v0.2.1from--version.../v0.2.1/ligate-cli-v0.2.1-linux-amd64.tar.gz) resolves to a real assetForward applicability
Effective from
v0.2.1onward.v0.2.0and earlier tarballs keep their existing names; no retroactive rename.Cross-repo
ligate-marketingapps/landing/src/app/devnet/page.tsx:199still showsligate-cli 0.1.3(no v prefix). Followup in that repo, separate PR.