From 8aad833b44337123adf2118928c1b3f3af49c783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wo=CC=81jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Wed, 26 Jun 2024 15:46:57 +0200 Subject: [PATCH] Wrap tags generated on custom branches in underscores --- ci/actions/generate_next_git_tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/actions/generate_next_git_tag.sh b/ci/actions/generate_next_git_tag.sh index a68f49bb96..843f197333 100755 --- a/ci/actions/generate_next_git_tag.sh +++ b/ci/actions/generate_next_git_tag.sh @@ -69,7 +69,7 @@ get_tag_suffix() { fi # Replace non-alphanumeric characters with underscores - local new_tag_suffix=${branch_name//[^a-zA-Z0-9]/_} + local new_tag_suffix="_${branch_name//[^a-zA-Z0-9]/_}_" # wrap with underscores for readability # Specific rules for certain branch names if [[ "$branch_name" == "develop" ]]; then