mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
232c982fb0
- generate releases.json et al on our github actions workflow - use those when building and also on our `run` script - new releases will dispatch the workflow so it re-generates the needed files Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
14 lines
293 B
Bash
Executable File
14 lines
293 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
# install
|
|
pip install --upgrade pip
|
|
pip install -U mkdocs-material mkdocs-redirects mkdocs-minify-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
|