commit if changes happened
authorDan White <dan@whiteaudio.com>
Mon, 31 Oct 2022 15:48:04 +0000 (10:48 -0500)
committerDan White <dan@whiteaudio.com>
Mon, 31 Oct 2022 15:48:04 +0000 (10:48 -0500)
do-updates.sh

index d3b05ad8a239c932e8de04693554cfbe3e3faf45..d20a7e8102390381c0c7ec8b272feb5dabc5e569 100755 (executable)
@@ -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