From 8e96e160c6bb17580dea908073145f5df96bd148 Mon Sep 17 00:00:00 2001 From: Alex Hung Date: Mon, 27 Nov 2023 11:27:13 -0800 Subject: [PATCH] Update .goreleaser.yml Fix Go compiler flag to override version during GoReleaser build --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index de9a172..6e5b9b8 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -14,7 +14,7 @@ builds: flags: - -trimpath ldflags: - - '-s -w -X github.com/jfrog/terraform-provider-platform/pkg/platform/platform.Version={{.Version}}' + - '-s -w -X github.com/jfrog/terraform-provider-platform/pkg/platform.Version={{.Version}}' goos: - freebsd - windows