Output diff before committing changes
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
See https://git.autonomic.zone/coop-cloud/abra/issues/174.
This commit is contained in:
parent
8519cb8661
commit
4b820457de
1
abra
1
abra
|
@ -2286,6 +2286,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" ] && [ "$bump" = "false" ]; then
|
if [ "$abra___no_prompt" = "false" ] && [ "$bump" = "false" ]; then
|
||||||
|
git --no-pager diff
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue