remove superfulous then

This commit is contained in:
Francisco Schulz 2022-11-14 16:26:19 +01:00
parent 398b1c271f
commit 3ccb1d2370

View File

@ -61,7 +61,6 @@ then
poetry version patch poetry version patch
fi fi
else else
then
if check_poetry_version if check_poetry_version
then then
echo "updating version number by one prerelease increment" echo "updating version number by one prerelease increment"
@ -71,7 +70,7 @@ fi
if [[ $bamboo_planRepository_branchName =~ ^(hotfix/|bugfix/|feature/) ]] if [[ $bamboo_planRepository_branchName =~ ^(hotfix/|bugfix/|feature/) ]]
then then
newVersion="$(poetry version -s)" newVersion=$(poetry version -s)
else else
newVersion="$(poetry version -s)-dev" newVersion="$(poetry version -s)-dev"
fi fi