Skip to content

Commit ceb90a5

Browse files
author
Junio C Hamano
committed
Announcement message skelton.
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 337ceea commit ceb90a5

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

Announce

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+

0 commit comments

Comments
 (0)