daily_git_commit_mail.sh -> git_commit_mail.sh – it's called every hour
authorMoritz Orbach <code+exim@apfelboymchen.net>
Thu, 6 Oct 2022 17:34:40 +0000 (17:34 +0000)
committerNigel Metheringham <nigel@exim.org>
Thu, 6 Oct 2022 17:34:40 +0000 (17:34 +0000)
bin/daily_git_commit_mail.sh [deleted file]
bin/git_commit_mail.sh [new file with mode: 0755]

diff --git a/bin/daily_git_commit_mail.sh b/bin/daily_git_commit_mail.sh
deleted file mode 100755 (executable)
index 90f9fdd..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-
-export PATH=/home/nm4/bin:$PATH
-
-#
-# merge exim.org/github repos
-#
-export GIT_DIR=/home/git/exim.git
-export GIT_KEY=/home/nm4/.ssh/git_repo_sync
-export GIT_SSH=/home/nm4/bin/gitssh.sh
-git fetch --quiet github
-git push --all --force github 2>&1 | fgrep -v 'Everything up-to-date'
-git push --tags github 2>&1 | fgrep -v 'Everything up-to-date'
-
-#
-# base config for mailing
-#
-export FROM="Exim Git Commits Mailing List <exim-cvs@exim.org>"
-export SENDMAIL=/usr/sbin/exim
-
-#
-# Mail out updates for exim git
-#
-export MAILTAG=/home/nm4/.git-mail-exim
-export MLIST=exim-cvs@exim.org
-export GITWEB=https://git.exim.org/exim.git
-flock  $0 /home/services/misc-git-hacks/git-feed-mail-list.sh
-
-#
-# Mail out updates for exim website git
-#
-export GIT_DIR=/home/git/exim-website.git
-export MAILTAG=/home/nm4/.git-mail-exim-website
-export MLIST=exim-cvs@exim.org
-export GITWEB=https://git.exim.org/exim-website.git
-flock  $0 /home/services/misc-git-hacks/git-feed-mail-list.sh
-
-# end
diff --git a/bin/git_commit_mail.sh b/bin/git_commit_mail.sh
new file mode 100755 (executable)
index 0000000..90f9fdd
--- /dev/null
@@ -0,0 +1,38 @@
+#!/bin/sh
+
+export PATH=/home/nm4/bin:$PATH
+
+#
+# merge exim.org/github repos
+#
+export GIT_DIR=/home/git/exim.git
+export GIT_KEY=/home/nm4/.ssh/git_repo_sync
+export GIT_SSH=/home/nm4/bin/gitssh.sh
+git fetch --quiet github
+git push --all --force github 2>&1 | fgrep -v 'Everything up-to-date'
+git push --tags github 2>&1 | fgrep -v 'Everything up-to-date'
+
+#
+# base config for mailing
+#
+export FROM="Exim Git Commits Mailing List <exim-cvs@exim.org>"
+export SENDMAIL=/usr/sbin/exim
+
+#
+# Mail out updates for exim git
+#
+export MAILTAG=/home/nm4/.git-mail-exim
+export MLIST=exim-cvs@exim.org
+export GITWEB=https://git.exim.org/exim.git
+flock  $0 /home/services/misc-git-hacks/git-feed-mail-list.sh
+
+#
+# Mail out updates for exim website git
+#
+export GIT_DIR=/home/git/exim-website.git
+export MAILTAG=/home/nm4/.git-mail-exim-website
+export MLIST=exim-cvs@exim.org
+export GITWEB=https://git.exim.org/exim-website.git
+flock  $0 /home/services/misc-git-hacks/git-feed-mail-list.sh
+
+# end