mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-11 13:38:41 +02:00
I was really tired of copying and pasting that over and over again and keeping it all in sync... Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
14 lines
324 B
Bash
Executable File
14 lines
324 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
# install
|
|
pip install --upgrade pip
|
|
pip install -U mkdocs-material mkdocs-redirects mkdocs-minify-plugin mkdocs-include-markdown-plugin lunr
|
|
|
|
# prepare
|
|
version="$(cat ./www/docs/static/latest)"
|
|
sed -s'' -i "s/__VERSION__/$version/g" www/docs/install.md
|
|
|
|
# build
|
|
mkdocs build -f www/mkdocs.yml
|