diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = deck pkgdesc = decK: Configuration management and drift detection for Kong and Kong Enterprise pkgver = 1.2.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Kong/deck arch = x86_64 license = Apache @@ -1,7 +1,7 @@ # Maintainer: Joan Bruguera Micó <joanbrugueram@gmail.com> pkgname=deck pkgver=1.2.3 -pkgrel=1 +pkgrel=2 pkgdesc='decK: Configuration management and drift detection for Kong and Kong Enterprise' arch=('x86_64') url="https://github.com/Kong/$pkgname" @@ -22,7 +22,7 @@ build() { export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" - go build -o build ./... + go build -o build -ldflags "-X github.com/kong/deck/cmd.VERSION=$pkgver -X github.com/kong/deck/cmd.COMMIT=SourceRelease" ./... } check() { |