github-cli: update to 2.74.2

This commit is contained in:
tranzystorekk 2025-06-18 22:40:09 +02:00
parent dfa32b9631
commit f9d7e0a299

View file

@ -1,6 +1,6 @@
# Template file for 'github-cli' # Template file for 'github-cli'
pkgname=github-cli pkgname=github-cli
version=2.74.1 version=2.74.2
revision=1 revision=1
build_style=go build_style=go
build_helper=qemu build_helper=qemu
@ -14,13 +14,13 @@ license="MIT"
homepage="https://cli.github.com" homepage="https://cli.github.com"
changelog="https://github.com/cli/cli/releases" changelog="https://github.com/cli/cli/releases"
distfiles="https://github.com/cli/cli/archive/refs/tags/v${version}.tar.gz" distfiles="https://github.com/cli/cli/archive/refs/tags/v${version}.tar.gz"
checksum=ac894d0f16f78db34818c396aad542b1512a776b925a7639d5d5a30d205a103b checksum=58d383e75e1a6f3eb5e5694f232d1ed6f7f53681fda9c6a997e6e1be344edd94
pre_build() { pre_build() {
local _date local _date
if [ "$SOURCE_DATE_EPOCH" ]; then if [ "$SOURCE_DATE_EPOCH" ]; then
_date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")" _date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
go_ldflags="$go_ldflags -X github.com/cli/cli/v2/internal/build.Date=${_date}" go_ldflags+=" -X github.com/cli/cli/v2/internal/build.Date=${_date}"
fi fi
} }