diff --git a/projects/werf.io/package.yml b/projects/werf.io/package.yml index 9ceae302..59e9670b 100644 --- a/projects/werf.io/package.yml +++ b/projects/werf.io/package.yml @@ -9,15 +9,14 @@ dependencies: linux: github.com/kdave/btrfs-progs: ^6.7 sourceware.org/dm: ^2.3 - + build: dependencies: go.dev: ^1.21 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