1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-06-19 10:29:18 +02:00
nfpm/scripts/pages/build.sh
Carlos A Becker 51aaa7d701
docs: improve build
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 20:56:42 -03:00

8 lines
238 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
pip install -U pip
pip install -U mkdocs-material mkdocs-minify-plugin lunr
version="$(cat ./www/docs/static/latest)"
sed -s'' -i "s/__VERSION__/$version/g" www/docs/install.md
mkdocs build -f www/mkdocs.yml