From 9df3e94e603e6851ebd8fec70d492bc1a6757963 Mon Sep 17 00:00:00 2001 From: Mamadou Babaei Date: Sun, 18 Aug 2024 00:25:23 +0200 Subject: [PATCH] fix a bug that causes a handbook revision mismatch when deploying the handbook from the dev branch --- Handbook/GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Handbook/GNUmakefile b/Handbook/GNUmakefile index c27cbdbe..9dce1de6 100644 --- a/Handbook/GNUmakefile +++ b/Handbook/GNUmakefile @@ -189,9 +189,9 @@ SG_BUILD_HOST := $(shell hostname) SG_BUILD_TIME := $(shell date '+%a %b %d, %Y %H:%M %Z %z') ifeq ($(strip $(SG_GIT_BRANCH)),dev) -ifeq ($(strip $(SG_GIT_VERSION)),) +ifeq ($(strip $(SG_GIT_TAG)),) SG_HANDBOOK_REVISION := next -endif # ($(strip $(SG_GIT_VERSION)),) +endif # ($(strip $(SG_GIT_TAG)),) endif # ($(strip $(SG_GIT_BRANCH)),dev) SG_IS_GIT_BRANCH_HEAD_OR_MASTER := $(or $(filter HEAD,$(strip $(SG_GIT_BRANCH))),$(filter master,$(strip $(SG_GIT_BRANCH))))