mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
8faf7dbe55
* docs: fix version in docs * fix: script * docs: improve install * fix: curl * fix: get releases * docs: instructions * docs: instructions
7 lines
299 B
Bash
Executable File
7 lines
299 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
./scripts/get-releases.sh
|
|
version="$(curl -sSf -H "Authorization: Bearer $GITHUB_TOKEN" "https://api.github.com/repos/goreleaser/goreleaser/releases/latest" | jq -r '.tag_name')"
|
|
sed -s'' -i "s/__VERSION__/$version/g" www/docs/install.md
|
|
mkdocs build -f www/mkdocs.yml
|