mirror of
https://github.com/git/git.git
synced 2026-01-13 04:06:01 +00:00
Meta/Announce: adjust to possible change to the top-level RelNotes
This commit is contained in:
11
Announce
11
Announce
@@ -70,10 +70,17 @@ tag and the '$branch' branch that the tag points at:
|
||||
|
||||
EOF
|
||||
|
||||
RelNotes=$(git cat-file blob "${branch}:RelNotes") &&
|
||||
case "$(git ls-tree ${branch} RelNotes)" in
|
||||
120000' '*)
|
||||
RelNotes=$(git cat-file blob "${branch}:RelNotes")
|
||||
;;
|
||||
*)
|
||||
RelNotes=RelNotes
|
||||
;;
|
||||
esac &&
|
||||
git cat-file blob "${branch}:$RelNotes" |
|
||||
case "$relname" in
|
||||
*-rc[0-9]*)
|
||||
*-*)
|
||||
sed -e 's/^Git .* Release Notes$/& (draft)/' \
|
||||
-e 's/^=============/&========/'
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user