diff --git a/bamboo-specs/scripts/git-tag.sh b/bamboo-specs/scripts/git-tag.sh index bc11e47..07b6ff0 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