From 5cdef8013d76404c21058473f70e96cb524fae2d Mon Sep 17 00:00:00 2001 From: Artur Czepiel Date: Mon, 27 Jan 2025 15:35:57 +0100 Subject: [PATCH] fix preview branch regex --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a4d39aed2..21cd1a8dc 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ export GIT_VERSION ?= $(shell git rev-parse --short HEAD) # Auto-detect and sanitize current git branch BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD) # Replace "/" and other non-alphanumeric characters with "-" -SAFE_BRANCH := $(shell echo "$(BRANCH)" | sed 's/[^A-Za-z0-9._-]/-/g') +SAFE_BRANCH := $(shell echo "$(BRANCH)" | sed 's/[^A-Za-z0-9-]/-/g') FORCE_DEPLOY ?= false .PHONY: build deploy dev clean install