From 6d5d1b1b5e6b5a675a99d67fc8b0a4870fdf6fcd Mon Sep 17 00:00:00 2001 From: kenriortega Date: Mon, 1 Nov 2021 09:14:18 -0400 Subject: [PATCH] fix: ldflags error to impor variables --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 9d7e563..5635fb1 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -31,7 +31,7 @@ builds: # Custom ldflags templates. # Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`. ldflags: - - -s -w -X cli.version={{.Version}} -X cli.versionHash={{.Commit}} -X cli.buildTime={{.Date}} + - -s -w -X github.com/kenriortega/ngonx/cmd/cli.version={{.Version}} -X github.com/kenriortega/ngonx/cmd/cli.versionHash={{.Commit}} -X github.com/kenriortega/ngonx/cmd/cli.buildTime={{.Date}} env: