From c318bd932b9134daf4740442ee7f834fc387dfce Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Wed, 8 Sep 2021 01:07:12 +0000 Subject: [PATCH] upgpkg: drone-cli 1.3.3-2 Ensure version is present in compiled binary. --- drone-cli/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drone-cli/PKGBUILD b/drone-cli/PKGBUILD index ddaa491..11af37a 100644 --- a/drone-cli/PKGBUILD +++ b/drone-cli/PKGBUILD @@ -2,7 +2,7 @@ pkgname=drone-cli pkgver=1.3.3 -pkgrel=1 +pkgrel=2 pkgdesc="Command line interface for Drone CI" arch=('x86_64') url="https://docs.drone.io/cli" @@ -34,7 +34,7 @@ build() { -buildmode=pie \ -mod=vendor \ -modcacherw \ - -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ + -ldflags "-linkmode external -extldflags ${LDFLAGS} -X main.version=$pkgver" \ -o build \ ./... }