woodpecker: 3.6.0 -> 3.7.0 (#414888)

This commit is contained in:
Bruno BELANYI 2025-06-08 10:33:21 +01:00 committed by GitHub
commit c7c9cae886
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{ lib, fetchzip }:
let
version = "3.6.0";
srcHash = "sha256-/vBWuCHvVaFqCbwZAXgkHpfAQaOt4dtqeCXmDuQzBoc=";
version = "3.7.0";
srcHash = "sha256-5EmvmfkAUMkmImS37jAPOoEADYeAzQgV6zhpRbP9FVk=";
# The tarball contains vendored dependencies
vendorHash = null;
in

View File

@ -13,15 +13,13 @@ if [[ $# -gt 1 || $1 == -* ]]; then
exit 1
fi
set -x
cd "$(dirname "$0")"
version="$1"
set -euo pipefail
if [ -z "$version" ]; then
version="$(wget -O- "${TOKEN_ARGS[@]}" "https://api.github.com/repos/woodpecker-ci/woodpecker/releases?per_page=1" | jq -r '.[0].tag_name')"
version="$(wget -q -O- "${TOKEN_ARGS[@]}" "https://api.github.com/repos/woodpecker-ci/woodpecker/releases?per_page=1" | jq -r '.[0].tag_name')"
fi
# strip leading "v"