Files
runner-images/images/linux/scripts/installers/preparemetadata.sh
Vladimir Safonkin 75ac0436ed Add generation of announcements tables (#1355)
* Parse announcements from issues

* Minor fix

* Minor fix

* Reworked

* Minor fix

* Fix env variable name
2020-08-06 15:12:04 +03:00

21 lines
625 B
Bash

#!/bin/bash
################################################################################
## File: preparemetadata.sh
## Desc: This script adds a image title information to the metadata
## document
################################################################################
source $HELPER_SCRIPTS/document.sh
WriteItem "<!--- DO NOT EDIT - This markdown file is autogenerated. -->"
if [ $ANNOUNCEMENTS ]; then
WriteItem $ANNOUNCEMENTS
WriteItem "***"
fi
AddTitle "$(lsb_release -ds)"
WriteItem "The following software is installed on machines with the $IMAGE_VERSION update."
WriteItem "***"