parent
fa54705f79
commit
2ca7884bbe
6
abra
6
abra
@ -2218,7 +2218,7 @@ sub_recipe_release() {
|
|||||||
|
|
||||||
success "All compose files updated; new version is $new_version"
|
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
|
read -rp "Commit your changes to git? [y/N]? " choice
|
||||||
|
|
||||||
if [ "${choice,,}" != "y" ]; then
|
if [ "${choice,,}" != "y" ]; then
|
||||||
@ -2226,7 +2226,7 @@ sub_recipe_release() {
|
|||||||
fi
|
fi
|
||||||
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
|
git commit -avem "Version $new_version; sync labels" || exit
|
||||||
else
|
else
|
||||||
git commit -am "Version $new_version; sync labels" || true
|
git commit -am "Version $new_version; sync labels" || true
|
||||||
@ -2255,7 +2255,7 @@ sub_recipe_release() {
|
|||||||
if [ "$abra___no_prompt" = "false" ]; then
|
if [ "$abra___no_prompt" = "false" ]; then
|
||||||
read -rp "Git push this new tag? [y/N]? " choice
|
read -rp "Git push this new tag? [y/N]? " choice
|
||||||
|
|
||||||
if [ "${choice,,}" != "y" ]; then
|
if [ "${choice,,}" = "y" ]; then
|
||||||
git push && git push --tags
|
git push && git push --tags
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user