mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-13 13:48:40 +02:00
In the default golang builders ldflags three flags are set: main.version, main.commit and main.date. See https://github.com/goreleaser/goreleaser/blob/master/internal/builders/golang/build.go#L48 In the environment docs, only the main.version is mentioned. goreleaser itself uses main.date and main.commit also.