From d3cf26aad45c094685f348fbfbe32d6af316785f Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Thu, 2 Nov 2023 12:21:10 +0300 Subject: [PATCH] Added change detection result to the console when executing --- shell/push.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/shell/push.sh b/shell/push.sh index 36184cb..fb82feb 100644 --- a/shell/push.sh +++ b/shell/push.sh @@ -10,6 +10,19 @@ function isDirty() { echo "$result" } +echo "==========================" +echo "= Changes Detector =" +echo "==========================" +echo " " +echo "Plugins Config: $IS_PLUGINS_CONFIG" +echo "Dependabot: $IS_DIRTY_DEPENDABOT" +echo "EditorConfig: $IS_DIRTY_EDITORCONFIG" +echo "Composer: $IS_DIRTY_NORMALIZE" +echo "Code Style: $IS_DIRTY_CODE" +echo " " +echo "Total dirty is $(isDirty)" +echo " " + if [[ $(isDirty) == "true" ]]; then git push fi