mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-01 09:06:26 +00:00
Pass VERSION flag including v2 in path (#1290)
* Pass VERSION flag including v2 in path Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> * Pass VERSION flag including v2 in path for goreleaser Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com> --------- Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
project_name: kairos-agent
|
project_name: kairos-agent
|
||||||
builds:
|
builds:
|
||||||
- ldflags:
|
- 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:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
goos:
|
goos:
|
||||||
|
Reference in New Issue
Block a user