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