File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ endif
218
218
219
219
# gvisor-tap-vsock version for gvproxy.exe and win-sshproxy.exe downloads
220
220
# the upstream project ships pre-built binaries since version 0.7.1
221
- GVPROXY_VERSION =$(shell grep github.com/containers/gvisor-tap-vsock go.mod | cut -d" " -f2 )
221
+ GVPROXY_VERSION =$(shell $( GO ) list -m -f '{{.Version}}' github.com/containers/gvisor-tap-vsock)
222
222
223
223
# ##
224
224
# ## Primary entry-point targets
Original file line number Diff line number Diff line change 1
1
SHELL := bash
2
+ GO ?= go
2
3
3
4
ARCH ?= aarch64
4
5
ifeq ($(ARCH ) , aarch64)
5
6
GOARCH:=arm64
6
7
else
7
8
GOARCH:=$(ARCH)
8
9
endif
9
- GVPROXY_VERSION ?= $(shell grep github.com/containers/gvisor-tap-vsock ../../go.mod | cut -d" " -f2 )
10
+ GVPROXY_VERSION = $(shell $( GO ) list -m -f '{{.Version}}' github.com/containers/gvisor-tap-vsock)
10
11
VFKIT_VERSION ?= 0.6.1
11
12
KRUNKIT_VERSION ?= 0.2.0
12
- GVPROXY_RELEASE_URL ?= https://github.com/containers/gvisor-tap-vsock/releases/download/v $(GVPROXY_VERSION ) /gvproxy-darwin
13
+ GVPROXY_RELEASE_URL ?= https://github.com/containers/gvisor-tap-vsock/releases/download/$(GVPROXY_VERSION ) /gvproxy-darwin
13
14
VFKIT_RELEASE_URL ?= https://github.com/crc-org/vfkit/releases/download/v$(VFKIT_VERSION ) /vfkit-unsigned
14
15
KRUNKIT_RELEASE_URL ?= https://github.com/containers/krunkit/releases/download/v$(KRUNKIT_VERSION ) /krunkit-podman-unsigned-$(KRUNKIT_VERSION ) .tgz
15
16
PACKAGE_DIR ?= out/packaging
You can’t perform that action at this time.
0 commit comments