website-doc.sh: announces.yml: fill the page for the links

This allows tuning of the links when the announce is made in
Changelog.maint.html.

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2016-06-08 03:04:10 +02:00
parent effe1d85a8
commit 744974584a

View File

@ -86,7 +86,7 @@ function releases () {
v="$(echo $title \ v="$(echo $title \
| sed -r -e 's,^### [a-Z]+ (v[^ ]+).*,\1,' | sed -r -e 's,^### [a-Z]+ (v[^ ]+).*,\1,'
)" )"
echo "- {version: '${v}', link: '$link'}" echo "- {version: '${v}', link: 'Changelog.html#${link}'}"
done | tee -a "$ANNOUNCES_YML" done | tee -a "$ANNOUNCES_YML"
} }