Skip to content

Commit 29e836a

Browse files
committed
Allow VERSION to be set as an environment variable.
1 parent 81a16ad commit 29e836a

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
@@ -1,7 +1,7 @@
11
RACK_DIR ?= .
22
EDITION := Free
33
VERSION_MAJOR := 2
4-
VERSION := $(patsubst v%,%,$(shell git describe --tags --match "v$(VERSION_MAJOR).*"))
4+
VERSION ?= $(patsubst v%,%,$(shell git describe --tags --match "v$(VERSION_MAJOR).*"))
55

66
FLAGS += -Iinclude -Idep/include
77

0 commit comments

Comments
 (0)