From 8af2147b96e423b00a9da59d2bdb32a4628123d0 Mon Sep 17 00:00:00 2001 From: Stepan Stipl Date: Fri, 11 Dec 2020 14:57:47 +0000 Subject: [PATCH] build: Allow hyphens in tags - for nightly --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c295e4a8..aa67e883 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ endif .DEFAULT_GOAL :=help GITHUB_REF ?= dev -GIT_REF ?= $(shell echo "$(GITHUB_REF)" | sed "s,refs/[^/]*/,," | tr -cd '[:alnum:]._') +GIT_REF ?= $(shell echo "$(GITHUB_REF)" | sed "s,refs/[^/]*/,," | tr -cd '[:alnum:]._-') GITHUB_SHA ?= dev GIT_SHA ?= $(GITHUB_SHA)