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 \ ./... }