Created
May 15, 2015 07:45
-
-
Save jongha/97eaa36855acb75e5969 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
REPOS="$1" | |
REV="$2" | |
#mailer.py commit "$REPOS" "$REV" /path/to/mailer.conf | |
MESSAGE=$(svnlook propget --revprop -r $REV $REPOS svn:log) | |
cat <<EOF | /root/monitor/sendmail.py -s "[COMMIT] $REPOS:$REV" -r user@domain | |
REPOS: $REPOS | |
REV: $REV | |
MESSAGE: | |
$MESSAGE | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment