Skip to main content

checking-version-stamps

Checks that go build -ldflags "-X importpath.name=value" flags really set the version, commit and build date variables of a Go program, in source through go list or in a built binary. The Go linker ignores an -X flag whose package path or variable name is wrong, or that targets a const, so releases ship showing "dev" or "0.0.0". Use when a Go binary's --version shows a default value, when reviewing Makefile, GoReleaser, Dockerfile or CI ldflags, or before tagging a release.

Source facts

Repository
GillMacedo/unstamped
Last source activity
November 6, 2026 at 13:00
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
namechecking-version-stamps
descriptionChecks that go build -ldflags "-X importpath.name=value" flags really set the version, commit and build date variables of a Go program, in source through go list or in a built binary. The Go linker ignores an -X flag whose package path or variable name is wrong, or that targets a const, so releases ship showing "dev" or "0.0.0". Use when a Go binary's --version shows a default value, when reviewing Makefile, GoReleaser, Dockerfile or CI ldflags, or before tagging a release.