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.
1 parent a095046 commit dbca108Copy full SHA for dbca108
1 file changed
.make/Makefile.common
@@ -18,7 +18,8 @@ ifdef HAS_GIT
18
ifdef HAS_REPO
19
## Automatically detect the repo owner and repo name (for local use with Git)
20
REPO_NAME=$(shell basename "$(shell git rev-parse --show-toplevel 2> /dev/null)")
21
- REPO_OWNER=$(shell git config --get remote.origin.url | sed 's/git@$(GIT_DOMAIN)://g' | sed 's/\/$(REPO_NAME).git//g')
+ OWNER=$(shell git config --get remote.origin.url | sed 's/git@$(GIT_DOMAIN)://g' | sed 's/\/$(REPO_NAME).git//g')
22
+ REPO_OWNER=$(shell echo $(OWNER) | tr A-Z a-z)
23
VERSION_SHORT=$(shell git describe --tags --always --abbrev=0)
24
export REPO_NAME, REPO_OWNER, VERSION_SHORT
25
endif
0 commit comments