diff --git a/srcpkgs/github-cli/template b/srcpkgs/github-cli/template index 8b740cc28a8..ebd8416c548 100644 --- a/srcpkgs/github-cli/template +++ b/srcpkgs/github-cli/template @@ -1,6 +1,6 @@ # Template file for 'github-cli' pkgname=github-cli -version=2.74.1 +version=2.74.2 revision=1 build_style=go build_helper=qemu @@ -14,13 +14,13 @@ license="MIT" homepage="https://cli.github.com" changelog="https://github.com/cli/cli/releases" distfiles="https://github.com/cli/cli/archive/refs/tags/v${version}.tar.gz" -checksum=ac894d0f16f78db34818c396aad542b1512a776b925a7639d5d5a30d205a103b +checksum=58d383e75e1a6f3eb5e5694f232d1ed6f7f53681fda9c6a997e6e1be344edd94 pre_build() { local _date if [ "$SOURCE_DATE_EPOCH" ]; then _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 }