mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-07 17:48:34 +00:00
Other: release notes: rename: early -> beta.
This commit is contained in:
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user