What's cooking (2011/11 #02)
[alt-git.git] / Announce
blob6c05164d7477be9250cb420268640379dc6a29af
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="The latest maintenance release" ;;
16 mainto/* | maint-[0-9]*)
17 kind="An maintenance release" ;;
18 master)
19 kind="The latest feature release" ;;
20 esac
22 case "$vername" in
23 *-rc[0-9]*)
24 rpmroot=testing
25 vername=$(echo "$vername" | tr "-" ".")
26 kind="A release candidate"
27 for_testing=" for testing"
30 for_testing=
31 rpmroot='RPMS/$arch'
33 esac
35 echo "To: git@vger.kernel.org"
36 Meta/ProjectContact -b
37 echo "Subject: [ANNOUNCE] Git $vername
40 fmt -70 <<EOF
41 $kind Git $vername is available$for_testing.
42 EOF
44 cat <<EOF
46 The release tarballs are found at:
48 http://code.google.com/p/git-core/downloads/list
50 and their SHA-1 checksums are:
52 bbf85bd767ca6b7e9caa1489bb4ba7ec64e0ab35 git-1.7.7.tar.gz
53 33183db94fd25e001bd8a9fd6696b992f61e28d8 git-htmldocs-1.7.7.tar.gz
54 75d3cceb46f7a46eeb825033dff76af5eb5ea3d9 git-manpages-1.7.7.tar.gz
56 Also the following public repositories all have a copy of the v$vername
57 tag and the $branch branch that the tag points at:
59 url = git://repo.or.cz/alt-git.git
60 url = https://code.google.com/p/git-core/
61 url = git://git.sourceforge.jp/gitroot/git-core/git.git
62 url = git://git-core.git.sourceforge.net/gitroot/git-core/git-core
63 url = https://github.com/gitster/git
65 ----------------------------------------------------------------
67 Changes since $previous are as follows:
69 EOF
71 git log --no-merges "$previous".."$branch" |
72 git shortlog