build: bake git hash into build for headers and --version
1 file changed, 5 insertions(+), 0 deletions(-)
changed files
M internal/config/config.go → internal/config/config.go
@@ -12,6 +12,11 @@ "github.com/pelletier/go-toml/v2" "github.com/pkg/errors" ) +var ( + CommitSHA string + ShortSHA string +) + type URL struct { *url.URL }