Skip to content

Commit 1a45834

Browse files
author
Simon Hirst
committed
Quick fix for checking var values before entering fake master
1 parent 2ff55a3 commit 1a45834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ else ifeq "$(ARCH)" "s390x"
117117
endif
118118

119119
# If this is a fake master build, push images to alternative location (pipeline wont consider these images GA candidates)
120-
ifeq ($(shell [ "$(TRAVIS)" = "true" ] && [ -n $(MAIN_BRANCH) ] && [ -n $(SOURCE_BRANCH) ] && [ "$(MAIN_BRANCH)" != "$(SOURCE_BRANCH)" ] && echo "true"), true)
120+
ifeq ($(shell [ "$(TRAVIS)" = "true" ] && [ -n "$(MAIN_BRANCH)" ] && [ -n "$(SOURCE_BRANCH)" ] && [ "$(MAIN_BRANCH)" != "$(SOURCE_BRANCH)" ] && echo "true"), true)
121121
MQ_DELIVERY_REGISTRY_NAMESPACE="master-fake"
122122
endif
123123

0 commit comments

Comments
 (0)