kpcyrd pushed to branch main at Arch Linux / Packaging / Packages / popeye
Commits: 4026152e by kpcyrd at 2024-03-13T00:17:27+01:00 upgpkg: 0.21.0-2 - use SOURCE_DATE_EPOCH for embedded build timestamp - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = popeye pkgdesc = Kubernetes cluster resource sanitizer pkgver = 0.21.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/derailed/popeye arch = x86_64 license = Apache ===================================== PKGBUILD ===================================== @@ -2,7 +2,7 @@ pkgname=popeye pkgver=0.21.0 -pkgrel=1 +pkgrel=2 pkgdesc="Kubernetes cluster resource sanitizer" arch=('x86_64') url="https://github.com/derailed/popeye" @@ -23,7 +23,7 @@ build(){ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" go build -v -x \ - -ldflags "-linkmode external -w -X github.com/derailed/popeye/cmd.version=${pkgver} -X github.com/derailed/popeye/cmd.date=$(date +%FT%T%Z)"\ + -ldflags "-linkmode external -w -X github.com/derailed/popeye/cmd.version=${pkgver} -X github.com/derailed/popeye/cmd.date=$(date -ud "@${SOURCE_DATE_EPOCH}" +%FT%T%Z)"\ . } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/popeye/-/commit/4026152ee5b374226705e0933d848f538cab9368 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/popeye/-/commit/4026152ee5b374226705e0933d848f538cab9368 You're receiving this email because of your account on gitlab.archlinux.org.