From: Junio C Hamano Date: Sun, 8 Jan 2006 22:26:28 +0000 (-0800) Subject: Announcement message skelton. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ceb90a511add3b362f1384aa6ea35370d12db315;p=git.git Announcement message skelton. Signed-off-by: Junio C Hamano --- diff --git a/Announce b/Announce new file mode 100755 index 00000000..48441284 --- /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 <