@matheusbsbs / matheus-bagliano / commits / ceb90a511a
Fork 0

Announcement message skelton.

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Jan 8, 2006 at 14:26 UTC ceb90a511add3b362f1384aa6ea35370d12db315
1 file changed +39
Announce new
+39
@@ -0,0 +1,39 @@
1 +#!/bin/sh
2 +# Announcement message skelton
3 +#
4 +branch=${1?branch}
5 +previous=${2?previous}
6 +
7 +relname=$(git describe "$branch") &&
8 +vername=$(expr "$relname" : 'v\(.*\)') || exit $?
9 +
10 +git rev-parse --verify "$previous" >/dev/null || exit $?
11 +
12 +case "$branch" in
13 +maint)
14 + kind="maintenance" ;;
15 +master)
16 + kind="feature" ;;
17 +esac
18 +
19 +cat <<EOF
20 +The latest $kind release GIT $vername is available at the usual places:
21 +
22 + http://www.kernel.org/pub/software/scm/git/
23 +
24 + git-$vername.tar.{gz,bz2} (tarball)
25 + RPMS/\$arch/git-*-$vername-1.\$arch.rpm (RPM)
26 +
27 +
28 +BLURB HERE
29 +BLURB HERE
30 +BLURB HERE
31 +
32 +----------------------------------------------------------------
33 +
34 +Changes since $previous are as follows:
35 +
36 +EOF
37 +
38 +git log --no-merges "$previous".."$branch" | git shortlog
39 +