From aab845b2a5ce7fd04a48adad336c2635ab8c3162 Mon Sep 17 00:00:00 2001 From: Karim Radhouani Date: Sun, 12 Nov 2023 11:30:00 -0800 Subject: [PATCH] fix ldflags --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e50da462..1a55e222 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -11,7 +11,7 @@ builds: - env: - CGO_ENABLED=0 ldflags: - - -s -w -X github.com/openconfig/gnmic/app.version={{.Version}} -X github.com/openconfig/gnmic/app.commit={{.ShortCommit}} -X github.com/openconfig/gnmic/app.date={{.Date}} -X github.com/openconfig/gnmic/app.gitURL={{.GitURL}} + - -s -w -X github.com/openconfig/gnmic/pkg/app.version={{.Version}} -X github.com/openconfig/gnmic/pkg/app.commit={{.ShortCommit}} -X github.com/openconfig/gnmic/pkg/app.date={{.Date}} -X github.com/openconfig/gnmic/pkg/app.gitURL={{.GitURL}} goos: - linux - darwin