Add generation of announcements tables (#1355)

* Parse announcements from issues

* Minor fix

* Minor fix

* Reworked

* Minor fix

* Fix env variable name
This commit is contained in:
Vladimir Safonkin
2020-08-06 15:12:04 +03:00
committed by GitHub
parent 0f6fba462a
commit 75ac0436ed
7 changed files with 31 additions and 40 deletions

View File

@@ -9,8 +9,11 @@ source $HELPER_SCRIPTS/document.sh
WriteItem "<!--- DO NOT EDIT - This markdown file is autogenerated. -->"
Announcements=$(cat $HELPER_SCRIPTS/announcements.md)
WriteItem $Announcements
if [ $ANNOUNCEMENTS ]; then
WriteItem $ANNOUNCEMENTS
WriteItem "***"
fi
AddTitle "$(lsb_release -ds)"
WriteItem "The following software is installed on machines with the $IMAGE_VERSION update."