From: Dan White Date: Mon, 31 Oct 2022 15:48:04 +0000 (-0500) Subject: commit if changes happened X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=e3dd915f982eecf863c37a955a780ef26b894b46;p=scheduling-bazaar-data.git commit if changes happened --- diff --git a/do-updates.sh b/do-updates.sh index d3b05ad..d20a7e8 100755 --- a/do-updates.sh +++ b/do-updates.sh @@ -25,4 +25,7 @@ date_end="$(date -u --date='24 hours ago' '+%Y-%m-%dT%H:%M')" # what changed? git diff +git add db-*.json +git commit -m 'cron update info' + exit