GODT-1177: remove Import-Export from repo

This commit is contained in:
James Houlahan
2021-05-28 09:56:52 +02:00
committed by Jakub
parent 649195cc2b
commit ffb18adfd0
141 changed files with 140 additions and 8781 deletions

View File

@ -23,12 +23,6 @@
INFILE=$1
OUTFILE=${INFILE//.md/.html}
# Load props
APP_NAME="Import-Export app"
if [[ "$INFILE" =~ bridge ]]; then
APP_NAME="Bridge"
fi
CHANNEL=early
if [[ "$INFILE" =~ stable ]]; then
CHANNEL=stable
@ -36,9 +30,9 @@ fi
# Check dependencies
if ! which pandoc; then
echo "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."
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 $APP_NAME - $CHANNEL"
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"