Add automatic notification about new releases.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@211 0da03de8-d603-11dd-86c2-0f8696b7b6f9
This commit is contained in:
parent
445d3c66a6
commit
21cfbec230
1 changed files with 16 additions and 1 deletions
17
commit
17
commit
|
@ -182,9 +182,24 @@ make all distcheck
|
||||||
# Build Debian package and create all the files that are needed by the
|
# Build Debian package and create all the files that are needed by the
|
||||||
# distribution maintainer.
|
# distribution maintainer.
|
||||||
msg=
|
msg=
|
||||||
debian_package ||
|
debian_package || {
|
||||||
msg="${msg}
|
msg="${msg}
|
||||||
NOTICE: New version released. Please do not forget to notify distributions"
|
NOTICE: New version released. Please do not forget to notify distributions"
|
||||||
|
if [ -r ~/.shellinabox-notifier ]; then
|
||||||
|
while read e; do
|
||||||
|
{
|
||||||
|
echo "This is an automatically generated e-mail notification that"
|
||||||
|
echo "a new release of ShellInABox has just been made available"
|
||||||
|
echo "on the project's website at http://shellinabox.com"
|
||||||
|
echo
|
||||||
|
echo "You had previously requested to be notified when this happens."
|
||||||
|
} | mail -s "New ShellInABox release" "$e"
|
||||||
|
done
|
||||||
|
else
|
||||||
|
msg="${msg}
|
||||||
|
NOTICE: Could not find ~/.shellinabox-notifier. Not sending e-mail..."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
svn diff $(svn st |
|
svn diff $(svn st |
|
||||||
egrep -v ' configure$| aclocal.m4$|distributions|^[?]' |
|
egrep -v ' configure$| aclocal.m4$|distributions|^[?]' |
|
||||||
|
|
Loading…
Reference in a new issue