fix(werf)

v2 version path changed

closes #5973
closes #5971
closes #5972
This commit is contained in:
Jacob Heider 2024-04-24 10:13:21 -04:00
parent 4a5ea5f38c
commit fad596fcb2
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -16,8 +16,7 @@ build:
linux:
gnu.org/gcc: '*'
gnu.org/binutils: '*' # some go packages demand ld.gold
script:
go build $ARGS -ldflags="$LD_FLAGS" -tags="$TAGS" ./cmd/werf
script: go build $ARGS -ldflags="$LD_FLAGS" -tags="$TAGS" ./cmd/werf
env:
TAGS:
- dfrunsecurity
@ -29,6 +28,7 @@ build:
- -s
- -w
- -X github.com/werf/werf/pkg/werf.Version={{version}}
- -X github.com/werf/werf/v2/pkg/werf.Version={{version}}
linux:
LD_FLAGS:
- -linkmode external