- version.go/version.txt, --version flag, version in the help title - build.sh builds static binaries for macOS and Linux into ./bin - make build/install inject version.txt, make dist runs build.sh - README: binary downloads; development docs: release process Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
7 lines
262 B
Go
7 lines
262 B
Go
package main
|
|
|
|
// Version is a var, not a const, so build.sh can put the built number in via
|
|
// -ldflags "-X main.Version=…". The value here only ever shows up in a bare
|
|
// `go build`; the version actually built is the one in version.txt.
|
|
var Version = "1.0.0"
|