Merge pull request #4270 from akhilerm/backport-1.1-4269

[1.1] allow overriding VERSION value in Makefile
This commit is contained in:
Akihiro Suda
2024-05-08 07:22:52 +09:00
committed by GitHub
+1 -1
View File
@@ -12,7 +12,7 @@ PROJECT := github.com/opencontainers/runc
BUILDTAGS ?= seccomp
COMMIT ?= $(shell git describe --dirty --long --always)
VERSION := $(shell cat ./VERSION)
VERSION ?= $(shell cat ./VERSION)
LDFLAGS_COMMON := -X main.gitCommit=$(COMMIT) -X main.version=$(VERSION)
GOARCH := $(shell $(GO) env GOARCH)