Merge "Tighten formatting for new branch reno page title"

This commit is contained in:
Zuul 2019-09-13 20:30:39 +00:00 committed by Gerrit Code Review
commit fe84bb1032
1 changed files with 7 additions and 3 deletions

View File

@ -47,11 +47,15 @@ $NEW_BRANCH.
Sem-Ver: feature
"
titlebranch=$(python -c "print('$SERIES'.title())")
pagetitle="$titlebranch Series Release Notes"
titlebar=`printf '%*s' "$(echo -n $pagetitle | wc -c)" | tr ' ' "="`
cat - > releasenotes/source/${SERIES}.rst <<EOF
===================================
$titlebranch Series Release Notes
===================================
$titlebar
$pagetitle
$titlebar
.. release-notes::
:branch: $NEW_BRANCH