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

@ -9,15 +9,14 @@ dependencies:
linux: linux:
github.com/kdave/btrfs-progs: ^6.7 github.com/kdave/btrfs-progs: ^6.7
sourceware.org/dm: ^2.3 sourceware.org/dm: ^2.3
build: build:
dependencies: dependencies:
go.dev: ^1.21 go.dev: ^1.21
linux: linux:
gnu.org/gcc: '*' gnu.org/gcc: '*'
gnu.org/binutils: '*' # some go packages demand ld.gold gnu.org/binutils: '*' # some go packages demand ld.gold
script: script: go build $ARGS -ldflags="$LD_FLAGS" -tags="$TAGS" ./cmd/werf
go build $ARGS -ldflags="$LD_FLAGS" -tags="$TAGS" ./cmd/werf
env: env:
TAGS: TAGS:
- dfrunsecurity - dfrunsecurity
@ -29,6 +28,7 @@ build:
- -s - -s
- -w - -w
- -X github.com/werf/werf/pkg/werf.Version={{version}} - -X github.com/werf/werf/pkg/werf.Version={{version}}
- -X github.com/werf/werf/v2/pkg/werf.Version={{version}}
linux: linux:
LD_FLAGS: LD_FLAGS:
- -linkmode external - -linkmode external