mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
f62adf23ff
Starting to move the blog from medium to mkdocs! closes #3503 --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
17 lines
420 B
Bash
Executable File
17 lines
420 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
# unshallow (needed for the rss plugin)
|
|
git fetch --prune --tags --unshallow
|
|
|
|
# install
|
|
pip install --upgrade pip
|
|
pip install -U mkdocs-material mkdocs-redirects mkdocs-minify-plugin mkdocs-include-markdown-plugin lunr mkdocs-rss-plugin
|
|
|
|
# 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
|