repo.or.cz
/
beanstalkd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Report bound port correctly
[beanstalkd.git]
/
pkg
/
mail.sh
blob
2e619cb3fbb74ca203e538257c894c11f7be0426
1
#!/usr/bin/env bash
2
3
set -e
4
set -o
pipefail
5
6
die
() {
7
echo
>&
2
"$@"
8
exit
2
9
}
10
11
addr
=
beanstalk-talk@googlegroups.com
12
ver
=
`./vers.sh`
13
case
$ver
in
*+*)
die bad ver
$ver
;;
esac
14
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