Skip to content

build: embed the v-prefixed tag and keep node on 24 LTS#40

Merged
mtzanidakis merged 1 commit into
mainfrom
build/version-vprefix
Jul 12, 2026
Merged

build: embed the v-prefixed tag and keep node on 24 LTS#40
mtzanidakis merged 1 commit into
mainfrom
build/version-vprefix

Conversation

@mtzanidakis

Copy link
Copy Markdown
Owner

Version normalization

Release binaries reported a bare 0.3.0 while locally-built ones report v0.3.0, because goreleaser's {{.Version}} strips the leading v. Switch both build ldflags to {{.Tag}} so released binaries embed the full v0.3.1, matching the git describe string local builds use. (The self-upgrade comparison already strips v, so this is purely cosmetic consistency.)

Node 24 LTS

Follow-up to closing #37: add a Dependabot ignore for major bumps of the node Docker base image, so the build stage stays on the Node 24 LTS line and the node:26-alpine PR isn't re-proposed weekly. Minor/patch 24.x updates still flow.

🤖 Generated with Claude Code

Use goreleaser's {{.Tag}} instead of {{.Version}} for the injected
main.version, so released binaries report "v0.3.1" like local
git-describe builds do, instead of a bare "0.3.1".

Also ignore major bumps of the node Docker base image in Dependabot so
the build stage stays on the Node 24 LTS line (24.x patches still flow).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fyts9AaSzgqLshpmaibaSv
@mtzanidakis
mtzanidakis merged commit cf1c5bc into main Jul 12, 2026
4 checks passed
@mtzanidakis
mtzanidakis deleted the build/version-vprefix branch July 12, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant