smartconfig/version.go
sneak 42161ce489 Add build target with version injection via ldflags
- Update Makefile to inject VERSION and GIT_COMMIT at build time
- Change Version from const to var to allow ldflags injection
- Add build target to create binary with proper version info
2025-07-22 13:50:24 +02:00

8 lines
221 B
Go

package smartconfig
// Version is the current version of smartconfig (set at build time with -ldflags)
var Version = "dev"
// GitCommit is the git commit hash (set at build time with -ldflags)
var GitCommit = "unknown"