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 0f6e535 commit 4b67aa5Copy full SHA for 4b67aa5
Makefile
@@ -18,7 +18,7 @@ export GIT_VERSION ?= $(shell git rev-parse --short HEAD)
18
# Auto-detect and sanitize current git branch
19
BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
20
# Replace "/" and other non-alphanumeric characters with "-"
21
-SAFE_BRANCH := $(shell echo "$(BRANCH)" | sed 's/[^A-Za-z0-9-]/-/g')
+SAFE_BRANCH := $(shell echo "$(BRANCH)" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9-]/-/g')
22
FORCE_DEPLOY ?= false
23
SITE_URL ?= "https://$(SAFE_BRANCH).ep-preview.click"
24
0 commit comments