Other: release notes: rename: early -> beta.

This commit is contained in:
Jakub
2021-12-14 16:30:48 +01:00
parent 29b7530ddf
commit 20a0404efb
2 changed files with 14 additions and 13 deletions

View File

@ -23,16 +23,16 @@
INFILE=$1
OUTFILE=${INFILE//.md/.html}
CHANNEL=early
if [[ "$INFILE" =~ stable ]]; then
CHANNEL=beta
if [[ "$INFILE" =~ stable ]]; then
CHANNEL=stable
fi
# Check dependencies
if ! which pandoc; then
printf "PANDOC NOT FOUND!\nPlease install pandoc in order to build release notes."
printf "PANDOC NOT FOUND!\nPlease install pandoc in order to build release notes.\n"
exit 1
fi
# Build release notes
pandoc "$INFILE" -f markdown -t html -s -o "$OUTFILE" -c utils/release_notes.css --self-contained --section-divs --metadata title="Release notes - ProtonMail Bridge - $CHANNEL"
pandoc "$INFILE" -f markdown -t html -s -o "$OUTFILE" -c utils/release_notes.css --self-contained --section-divs --metadata title="Release notes - Proton Mail Bridge - $CHANNEL"