You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-11-06 09:09:29 +02:00
ci: do not include nightly in releases.json
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,8 @@ generate() {
|
||||
curl \
|
||||
-H "Authorization: Bearer $GITHUB_TOKEN" \
|
||||
-sSf "$url?page=$page" |
|
||||
jq 'map({tag_name: .tag_name})' >"$tmp/$i.json"
|
||||
jq 'map({tag_name: .tag_name}) | [.[] | select(.tag_name != "nightly")]' >"$tmp/$i.json"
|
||||
|
||||
done
|
||||
|
||||
jq -s 'add' "$tmp"/*.json >"$file"
|
||||
|
||||
3
www/docs/static/releases-pro.json
generated
vendored
3
www/docs/static/releases-pro.json
generated
vendored
@@ -92,9 +92,6 @@
|
||||
{
|
||||
"tag_name": "v1.12.0-pro"
|
||||
},
|
||||
{
|
||||
"tag_name": "nightly"
|
||||
},
|
||||
{
|
||||
"tag_name": "v1.11.5-pro"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user