Skip to content

Commit

Permalink
merge #4269 into opencontainers/runc:main
Browse files Browse the repository at this point in the history
Akhil Mohan (1):
  allow overriding VERSION value in Makefile

LGTMs: AkihiroSuda cyphar
  • Loading branch information
cyphar committed May 6, 2024
2 parents 7a017af + 9d9273c commit 0d37745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -18,7 +18,7 @@ BUILDTAGS ?= seccomp urfave_cli_no_docs
BUILDTAGS += $(EXTRA_BUILDTAGS)

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)
Expand Down

0 comments on commit 0d37745

Please sign in to comment.