From b0efed40075e532cc408cddddffa7b682f675fb4 Mon Sep 17 00:00:00 2001 From: Francisco Schulz Date: Thu, 10 Nov 2022 16:45:32 +0100 Subject: [PATCH] update regex --- bamboo-specs/scripts/git-tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bamboo-specs/scripts/git-tag.sh b/bamboo-specs/scripts/git-tag.sh index 6d19187..bc11e47 100755 --- a/bamboo-specs/scripts/git-tag.sh +++ b/bamboo-specs/scripts/git-tag.sh @@ -55,7 +55,7 @@ then fi newVersion="$(poetry version -s)" echo "new release on master with version: $newVersion" -elif [[ "$bamboo_planRepository_branchName" =~ "release*|hotfix*|bugfix*|feature*" ]] +elif [[ "$bamboo_planRepository_branchName" =~ ˆ(release/|hotfix/|bugfix/|feature/) ]] then if check_poetry_version then