From d63404ca73cf08f05c9a08529effbcf987cceb67 Mon Sep 17 00:00:00 2001 From: Konstantin Baierer Date: Wed, 18 Oct 2023 19:41:39 +0200 Subject: [PATCH] CORE_VERSION: Defer assignment until after submodules are checked out --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 07f5bb18..622985aa 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ ACTIVATE_VENV = $(BIN)/activate PYTHON_VERSION := $(shell $(PYTHON) -c 'import sys; print("%u.%u" % (sys.version_info.major, sys.version_info.minor))') # core version to ensure docker images are based on the latest tagged release -CORE_VERSION := $(shell git -C core describe --tags --abbrev=0) +CORE_VERSION = $(shell git -C core describe --tags --abbrev=0) define SEMGIT $(if $(shell sem --version 2>/dev/null),sem -q --will-cite --fg --id ocrd_all_git,$(error cannot find package GNU parallel))