// Package version carries build metadata stamped in via -ldflags. package version import "runtime" var ( // Version is the semantic version of this build. Version = "dev" // Commit is the git commit the binary was built from. Commit = "none" // Date is the build timestamp (RFC3339). Date = "unknown" ) // String renders the full build identity, e.g. // "deployr 0.1.0 (a1b2c3d, built 2026-08-26T10:00:00Z, go1.27.0 windows/amd64)". func String() string { return "deployr " + Version + " (" + Commit + ", built " + Date + ", " + runtime.Version() + " " + runtime.GOOS + "/" + runtime.GOARCH + ")" }