Skip to content

Commit 00fbf44

Browse files
authored
fix preview branch regex (#980)
1 parent d13bfd5 commit 00fbf44

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
@@ -17,7 +17,7 @@ export GIT_VERSION ?= $(shell git rev-parse --short HEAD)
1717
# Auto-detect and sanitize current git branch
1818
BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
1919
# Replace "/" and other non-alphanumeric characters with "-"
20-
SAFE_BRANCH := $(shell echo "$(BRANCH)" | sed 's/[^A-Za-z0-9._-]/-/g')
20+
SAFE_BRANCH := $(shell echo "$(BRANCH)" | sed 's/[^A-Za-z0-9-]/-/g')
2121
FORCE_DEPLOY ?= false
2222

2323
.PHONY: build deploy dev clean install

0 commit comments

Comments
 (0)