From 7e8df7daaccae4aab3f749214bb8d4cfa9c9cb98 Mon Sep 17 00:00:00 2001 From: REPPL <77722411+REPPL@users.noreply.github.com> Date: Wed, 8 Jul 2026 18:17:32 +0100 Subject: [PATCH] chore: set dev version default to v0.8.0-dev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The in-tree version var is only the fallback for untagged local builds; releases inject the git tag via -ldflags. It was stale at v0.4.0-dev. v0.7.3 has shipped, so the line in progress is v0.8.0 — report v0.8.0-dev, and update the release how-to's example to match. --- cmd/root.go | 2 +- docs/how-to/cutting-a-release.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 9f70afa..0669c8c 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -14,7 +14,7 @@ import ( // overridden at release with the git tag via -ldflags "-X .../cmd.version=vX.Y.Z". // ferry uses SemVer with a leading v; an untagged build reports the line in // progress (the -dev suffix marks it as not a tagged release). -var version = "v0.4.0-dev" +var version = "v0.8.0-dev" var rootCmd = &cobra.Command{ Use: "ferry", diff --git a/docs/how-to/cutting-a-release.md b/docs/how-to/cutting-a-release.md index 1cd3c88..0bf042c 100644 --- a/docs/how-to/cutting-a-release.md +++ b/docs/how-to/cutting-a-release.md @@ -13,7 +13,7 @@ the CLI surface may still change between minor versions (pre-1.0 = not yet API-s `v1.0.0` marks the first stable surface. The tag drives everything: the release workflow triggers on `v*`, and the tag is stamped into the binary via `-ldflags` so `ferry --version` reports it (e.g. `ferry v0.1.0`). Un-tagged local builds report the -current development line (`v0.4.0-dev`). +current development line (`v0.8.0-dev`). Checksums are **automated**, not hand-pasted. A script computes the SHA256 of each binary into a `checksums.txt` manifest that ships as a release asset; CI runs that