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