From 648b755add44bec63091a9bdcb4c1760a0dcd59e Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Thu, 13 Apr 2023 19:44:19 +0200 Subject: [PATCH] Pass VERSION flag including v2 in path (#1290) * Pass VERSION flag including v2 in path Signed-off-by: Mauro Morales * Pass VERSION flag including v2 in path for goreleaser Signed-off-by: Mauro Morales --------- Signed-off-by: Mauro Morales --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 2de57be..0d6846e 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -2,7 +2,7 @@ project_name: kairos-agent builds: - ldflags: - - -w -s -X "github.com/kairos-io/kairos/internal/common.VERSION={{.Env.VERSION}}" + - -w -s -X "github.com/kairos-io/kairos/v2/internal/common.VERSION={{.Env.VERSION}}" env: - CGO_ENABLED=0 goos: