update regex

This commit is contained in:
Francisco Schulz 2022-11-10 16:45:32 +01:00
parent 28ee14e92f
commit b0efed4007

View File

@ -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