internal/version/version.go
Ref: Size: 688 B History
// Package version carries the build-stamped eitri version, set via
// -ldflags "-X github.com/a73x/eitri/internal/version.Version=v0.0.2".
// Unstamped builds report "dev" and never consider themselves upgradable.
//
// It also owns the ORDERING both planes rank versions against (see order.go):
// the control plane to decide whether a host is behind the latest release, the
// agent to decide whether it is below a snapshot's floor. Neither plane may
// import the other (arch R1), so the rule lives here, beside the stamp it
// ranks, and there is exactly one of it.
package version
// Version is the running binary's version ("dev" when built without stamping).
var Version = "dev"