What's cooking
[git/spearce.git] / Announce
blob40cb3097a7b50a416fc6e12c3e0171ce03eb17d6
1 #!/bin/sh
2 # Announcement message skelton
4 branch=${1?branch}
5 previous=${2?previous}
6 commit=${3-"$1"}
8 relname=$(git describe "$commit") &&
9 vername=$(expr "$relname" : 'v\(.*\)') || exit $?
11 git rev-parse --verify "$previous" >/dev/null || exit $?
13 case "$branch" in
14 maint)
15 kind="maintenance" ;;
16 mainto/*)
17 kind="obsolete maintenance" ;;
18 master)
19 kind="feature" ;;
20 esac
22 echo "To: git@vger.kernel.org
23 cc: linux-kernel@vger.kernel.org
24 bcc: info@lwn.net
25 Subject: [ANNOUNCE] GIT $vername
28 fmt -70 <<EOF
29 The latest $kind release GIT $vername is available at the usual places:
31 http://www.kernel.org/pub/software/scm/git/
33 git-$vername.tar.{gz,bz2} (source tarball)
34 git-htmldocs-$vername.tar.{gz,bz2} (preformatted docs)
35 git-manpages-$vername.tar.{gz,bz2} (preformatted docs)
37 The RPM binary packages for a few architectures are also provided as
38 courtesy.
40 RPMS/\$arch/git-*-$vername-1.fc9.\$arch.rpm (RPM)
42 BLURB HERE BLURB HERE BLURB HERE
44 ----------------------------------------------------------------
46 Changes since $previous are as follows:
48 EOF
50 git log --no-merges "$previous".."$branch" |
51 git shortlog