Skip to content

Commit

Permalink
Merge pull request #4270 from akhilerm/backport-1.1-4269
Browse files Browse the repository at this point in the history
[1.1] allow overriding VERSION value in Makefile
  • Loading branch information
AkihiroSuda authored May 7, 2024
2 parents e8bb71e + 6f4d975 commit 007abf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 007abf3

Please sign in to comment.