Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 33 lines (25 sloc) 0.617 kb
#!/bin/bash
DIR=$(dirname $0)
cd "$DIR" || exit 5
EMAIL=$(git var GIT_AUTHOR_IDENT | sed 's/^.*<\(.*\)>.*$/\1/')
if [ -r out/changelog-email-from ]; then
EMAIL=$(cat out/changelog-email-from)
fi
PROJ=Git
if [ -r out/project-name ]; then
PROJ=$(cat out/project-name)
fi
DATE=$(date +%Y-%m-%d)
cat <<-EOF
From: ChangeLog Script <$EMAIL>
To: (undisclosed recipients);
Subject: Changes in $PROJ for $DATE
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Precedence: bulk
Importance: low
X-This-Is-Git-Changelog: yes
List-id: <git-changelog-script>
EOF
cd out || exit 6
exec ./changelog.pl "$@"
Jump to Line
Something went wrong with that request. Please try again.