2 # Announcement message skelton
8 relname
=$
(git describe
"$commit") &&
9 vername
=$
(expr "$relname" : 'v\(.*\)') ||
exit $?
11 git rev-parse
--verify "$previous" >/dev
/null ||
exit $?
15 kind
="The latest maintenance release" ;;
16 mainto
/* | maint-
[0-9]*)
17 kind
="A maintenance release" ;;
19 kind
="The latest feature release" ;;
27 kind
="An early preview release"
30 kind
="A release candidate"
33 for_testing
=" for testing"
41 vername
=$
(echo "$vername" |
tr "-" ".")
44 To: git@vger.kernel.org
45 Cc: Linux Kernel <linux-kernel@vger.kernel.org>
47 Subject: [ANNOUNCE] Git $relname
52 $kind Git $relname is now available$for_testing at the usual places.
57 The tarballs are found at:
59 https://www.kernel.org/pub/software/scm/git/${for_testing:+testing/}
61 The following public repositories all have a copy of the '$relname'
62 tag and the '$branch' branch that the tag points at:
64 url = https://kernel.googlesource.com/pub/scm/git/git
65 url = git://repo.or.cz/alt-git.git
66 url = https://code.google.com/p/git-core/
67 url = git://git.sourceforge.jp/gitroot/git-core/git.git
68 url = git://git-core.git.sourceforge.net/gitroot/git-core/git-core
69 url = https://github.com/gitster/git
73 RelNotes
=$
(git cat-file blob
"${branch}:RelNotes") &&
74 git cat-file blob
"${branch}:$RelNotes" |
77 sed -e 's/^Git .* Release Notes$/& (draft)/' \
78 -e 's/^=============/&========/'
87 ----------------------------------------------------------------
89 Changes since $previous are as follows:
93 git log
--no-merges "$previous"..
"$branch" |