Fix bump releases
continuous-integration/drone/push Build is passing Details

Closes #180.
This commit is contained in:
decentral1se 2021-06-11 00:36:40 +02:00
parent fa54705f79
commit 2ca7884bbe
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 3 additions and 3 deletions

6
abra
View File

@ -2218,7 +2218,7 @@ sub_recipe_release() {
success "All compose files updated; new version is $new_version"
if [ "$abra___no_prompt" = "false" ]; then
if [ "$abra___no_prompt" = "false" ] && [ "$bump" = "false" ]; then
read -rp "Commit your changes to git? [y/N]? " choice
if [ "${choice,,}" != "y" ]; then
@ -2226,7 +2226,7 @@ sub_recipe_release() {
fi
fi
if [ "$abra___no_prompt" = "false" ]; then
if [ "$abra___no_prompt" = "false" ] && [ "$bump" = "false" ]; then
git commit -avem "Version $new_version; sync labels" || exit
else
git commit -am "Version $new_version; sync labels" || true
@ -2255,7 +2255,7 @@ sub_recipe_release() {
if [ "$abra___no_prompt" = "false" ]; then
read -rp "Git push this new tag? [y/N]? " choice
if [ "${choice,,}" != "y" ]; then
if [ "${choice,,}" = "y" ]; then
git push && git push --tags
fi
else