remove superfulous then
This commit is contained in:
parent
398b1c271f
commit
3ccb1d2370
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user