From fa215aec4cadb7a49a63d7489ab191fc33e5a4bb Mon Sep 17 00:00:00 2001 From: Benji Visser Date: Sun, 1 Oct 2023 11:06:22 -0700 Subject: [PATCH] add metadata in goreleaser snapshot (#187) Signed-off-by: Benji Visser --- .goreleaser.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index cb2df3ca..9e156b3f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -24,10 +24,10 @@ builds: -w -s -extldflags '-static' - -X github.com/xeol-io/xeol/internal/version.version={{.Version}} - -X github.com/xeol-io/xeol/internal/version.gitCommit={{.Commit}} - -X github.com/xeol-io/xeol/internal/version.buildDate={{.Date}} - -X github.com/xeol-io/xeol/internal/version.gitDescription={{.Summary}} + -X main.version={{.Version}} + -X main.gitCommit={{.Commit}} + -X main.buildDate={{.Date}} + -X main.gitDescription={{.Summary}} - id: darwin-build dir: ./cmd/xeol