Report bound port correctly
[beanstalkd.git] / pkg / mail.sh
blob2e619cb3fbb74ca203e538257c894c11f7be0426
1 #!/usr/bin/env bash
3 set -e
4 set -o pipefail
6 die() {
7 echo >&2 "$@"
8 exit 2
11 addr=beanstalk-talk@googlegroups.com
12 ver=`./vers.sh`
13 case $ver in *+*) die bad ver $ver ;; esac
15 (cat <<end; git cat-file -p v$ver:News)|msmtp -t $addr
16 To: $addr
17 From: `git config user.name` <`git config user.email`>
18 Subject: [ANN] beanstalkd $ver
19 end