Skip to content

Commit 0d37745

Browse files
committed
merge #4269 into opencontainers/runc:main
Akhil Mohan (1): allow overriding VERSION value in Makefile LGTMs: AkihiroSuda cyphar
2 parents 7a017af + 9d9273c commit 0d37745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ BUILDTAGS ?= seccomp urfave_cli_no_docs
1818
BUILDTAGS += $(EXTRA_BUILDTAGS)
1919

2020
COMMIT ?= $(shell git describe --dirty --long --always)
21-
VERSION := $(shell cat ./VERSION)
21+
VERSION ?= $(shell cat ./VERSION)
2222
LDFLAGS_COMMON := -X main.gitCommit=$(COMMIT) -X main.version=$(VERSION)
2323

2424
GOARCH := $(shell $(GO) env GOARCH)

0 commit comments

Comments
 (0)