diff --git a/abra b/abra index 7966575..684e4c3 100755 --- a/abra +++ b/abra @@ -2212,7 +2212,7 @@ sub_recipe_release() { if [ "$abra___no_prompt" = "false" ]; then git commit -avem "Version $new_version; sync labels" || exit else - git commit -am "Version $new_version; sync labels" || exit + git commit -am "Version $new_version; sync labels" || true fi if [ "$abra___no_prompt" = "false" ]; then @@ -2232,17 +2232,17 @@ sub_recipe_release() { if [ "$abra___no_prompt" = "false" ]; then git tag -aem "$latest_version_message" "$new_version" else - git tag -am "$latest_version_message" "$new_version" + git tag -am "$latest_version_message" "$new_version" || true fi if [ "$abra___no_prompt" = "false" ]; then read -rp "Git push this new tag? [y/N]? " choice if [ "${choice,,}" != "y" ]; then - git push --force + git push && git push --tags fi else - git push --force + git push && git push --tags fi }