1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-09-21 00:27:54 +02:00
nfpm/scripts/pages/releases.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

5 lines
191 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
curl -sSf -H "Authorization: Bearer $GITHUB_TOKEN" "https://api.github.com/repos/goreleaser/nfpm/releases/latest" |
jq -r '.tag_name' >./www/docs/static/latest