From 598c6bc2a1ee691fb6af9efc8412cebd65b6c781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl?= Date: Fri, 9 Jul 2021 10:58:38 +0200 Subject: [PATCH] fix: goreleaser ldflags --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 733c7b7..9363f7c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -29,7 +29,7 @@ builds: - arm - arm64 - 386 - ldflags: "-X github.com/sundowndev/goreleaser-template.version={{.Version}}" + ldflags: "-X github.com/sundowndev/goreleaser-template/version.Version={{ .Version }}" archives: - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}' format: binary