fix a bug that causes a handbook revision mismatch when deploying the handbook from the dev branch
This commit is contained in:
@@ -189,9 +189,9 @@ SG_BUILD_HOST := $(shell hostname)
|
|||||||
SG_BUILD_TIME := $(shell date '+%a %b %d, %Y %H:%M %Z %z')
|
SG_BUILD_TIME := $(shell date '+%a %b %d, %Y %H:%M %Z %z')
|
||||||
|
|
||||||
ifeq ($(strip $(SG_GIT_BRANCH)),dev)
|
ifeq ($(strip $(SG_GIT_BRANCH)),dev)
|
||||||
ifeq ($(strip $(SG_GIT_VERSION)),)
|
ifeq ($(strip $(SG_GIT_TAG)),)
|
||||||
SG_HANDBOOK_REVISION := next
|
SG_HANDBOOK_REVISION := next
|
||||||
endif # ($(strip $(SG_GIT_VERSION)),)
|
endif # ($(strip $(SG_GIT_TAG)),)
|
||||||
endif # ($(strip $(SG_GIT_BRANCH)),dev)
|
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))))
|
SG_IS_GIT_BRANCH_HEAD_OR_MASTER := $(or $(filter HEAD,$(strip $(SG_GIT_BRANCH))),$(filter master,$(strip $(SG_GIT_BRANCH))))
|
||||||
|
|||||||
Reference in New Issue
Block a user