Skip to content

Commit 237b321

Browse files
authored
Merge pull request #441 from mboersma/make-promote-images-fix
🌱 Fix USER_FORK definition in Makefile
2 parents 9b401f1 + f16707d commit 237b321

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
@@ -529,7 +529,7 @@ RELEASE_NOTES_DIR := _releasenotes
529529
GIT_REPO_NAME ?= cluster-api-addon-provider-helm
530530
GIT_ORG_NAME ?= kubernetes-sigs
531531
USER_FORK ?= $(shell git config --get remote.origin.url | cut -d/ -f4) # only works on https://github.com/<username>/cluster-api-addon-provider-helm.git style URLs
532-
ifdef USER_FORK
532+
ifeq ($(USER_FORK),)
533533
USER_FORK := $(shell git config --get remote.origin.url | cut -d: -f2 | cut -d/ -f1) # for [email protected]:<username>/cluster-api-addon-provider-helm.git style URLs
534534
endif
535535
IMAGE_REVIEWERS ?= $(shell ./hack/get-project-maintainers.sh)

0 commit comments

Comments
 (0)