Remove mediamirrors - stale
[mirror-monitor.git] / bin / daily_git_commit_mail.sh
1 #!/bin/sh
2
3 export PATH=/home/nm4/bin:$PATH
4
5 #
6 # merge exim.org/github repos
7 #
8 export GIT_DIR=/home/git/exim.git
9 export GIT_KEY=/home/nm4/.ssh/git_repo_sync
10 export GIT_SSH=/home/nm4/bin/gitssh.sh
11 git fetch --quiet github
12 git push --all github 2>&1 | fgrep -v 'Everything up-to-date'
13 git push --tags github 2>&1 | fgrep -v 'Everything up-to-date'
14
15 #
16 # base config for mailing
17 #
18 export FROM="Exim Git Commits Mailing List <exim-cvs@exim.org>"
19 export SENDMAIL=/usr/sbin/exim
20
21 #
22 # Mail out updates for exim git
23 #
24 export MAILTAG=/home/nm4/.git-mail-exim
25 export MLIST=exim-cvs@exim.org
26 export GITWEB=https://git.exim.org/exim.git
27 flock  $0 /home/services/misc-git-hacks/git-feed-mail-list.sh
28
29 #
30 # Mail out updates for exim website git
31 #
32 export GIT_DIR=/home/git/exim-website.git
33 export MAILTAG=/home/nm4/.git-mail-exim-website
34 export MLIST=exim-cvs@exim.org
35 export GITWEB=https://git.exim.org/exim-website.git
36 flock  $0 /home/services/misc-git-hacks/git-feed-mail-list.sh
37
38 # end