1
0
mirror of https://github.com/kairos-io/kairos-agent.git synced 2025-05-12 18:34:27 +00:00

Pass VERSION flag including v2 in path ()

* 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:
Mauro Morales 2023-04-13 19:44:19 +02:00 committed by Itxaka
parent d6f4b637bd
commit 648b755add

View File

@ -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: