From 5c32f7ed756e32bb3fa03182730f9fad8aab9897 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Sun, 26 Jun 2022 19:24:27 -0400 Subject: [PATCH] 18870: Commits stuff Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- tools/salt-install/installer.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/salt-install/installer.sh b/tools/salt-install/installer.sh index 4d601d9bf9..a943fff6a7 100755 --- a/tools/salt-install/installer.sh +++ b/tools/salt-install/installer.sh @@ -64,8 +64,12 @@ case "$subcmd" in source ${CONFIG_FILE} + set -x + git add -A - git commit -m"prepare for deploy" + if ! git diff --exit-code ; then + git commit -m"prepare for deploy" + fi for NODE in "${!NODES[@]}" do if test $NODE = localhost ; then -- 2.30.2