fix a bug that causes a handbook revision mismatch when deploying the handbook from the dev branch

This commit is contained in:
Mamadou Babaei
2024-08-18 00:28:34 +02:00
parent 39b5ee1191
commit e917182c17
+2 -2
View File
@@ -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))))