@leroysheep / LeeRoySheep / commits / ceb90a511a

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
+39
new file mode 100755 index 0000000000..484412847d --- /dev/null +++ b/Announce @@ -0,0 +1,39 @@ +#!/bin/sh +# Announcement message skelton +# +branch=${1?branch} +previous=${2?previous} + +relname=$(git describe "$branch") && +vername=$(expr "$relname" : 'v\(.*\)') || exit $? + +git rev-parse --verify "$previous" >/dev/null || exit $? + +case "$branch" in +maint) + kind="maintenance" ;; +master) + kind="feature" ;; +esac + +cat <<EOF +The latest $kind release GIT $vername is available at the usual places: + + http://www.kernel.org/pub/software/scm/git/ + + git-$vername.tar.{gz,bz2} (tarball) + RPMS/\$arch/git-*-$vername-1.\$arch.rpm (RPM) + + +BLURB HERE +BLURB HERE +BLURB HERE + +---------------------------------------------------------------- + +Changes since $previous are as follows: + +EOF + +git log --no-merges "$previous".."$branch" | git shortlog +