From 29e836a986427fc96b545fad9e8d91a9b7014439 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Thu, 13 Mar 2025 22:38:48 -0400 Subject: [PATCH] Allow VERSION to be set as an environment variable. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7e6bcb6c..929ffa69 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ RACK_DIR ?= . EDITION := Free VERSION_MAJOR := 2 -VERSION := $(patsubst v%,%,$(shell git describe --tags --match "v$(VERSION_MAJOR).*")) +VERSION ?= $(patsubst v%,%,$(shell git describe --tags --match "v$(VERSION_MAJOR).*")) FLAGS += -Iinclude -Idep/include