File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 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+
You can’t perform that action at this time.
0 commit comments