We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce25c0b + f071de8 commit f39e955Copy full SHA for f39e955
Makefile
@@ -2,7 +2,8 @@ BOOTSTRAP=1
2
SECRETS=~/values-secret.yaml
3
NAME=$(shell basename `pwd`)
4
TARGET_REPO=$(shell git remote show origin | grep Push | sed -e 's/.*URL://' -e 's%:[a-z].*@%@%' -e 's%:%/%' -e 's%git@%https://%' )
5
-TARGET_BRANCH=$(shell git branch --show-current)
+# git branch --show-current is also available as of git 2.22, but we will use this for compatibility
6
+TARGET_BRANCH=$(shell git rev-parse --abbrev-ref HEAD)
7
8
# Makefiles that use this target must provide:
9
# PATTERN: The name of the pattern that is using it. This will be used programmatically for the source namespace
0 commit comments