[arch-commits] Commit in promscale/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Thu Feb 3 01:12:15 UTC 2022
Date: Thursday, February 3, 2022 @ 01:12:15
Author: grawlinson
Revision: 1123781
upgpkg: promscale 0.9.0-1
* New upstream release.
* Ensure generated files are updated (from upstream config).
* Fix version.CommitHash string in binaries.
Modified:
promscale/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-03 01:11:26 UTC (rev 1123780)
+++ PKGBUILD 2022-02-03 01:12:15 UTC (rev 1123781)
@@ -1,7 +1,7 @@
# Maintainer: George Rawlinson <george at rawlinson.net.nz>
pkgname=promscale
-pkgver=0.8.0
+pkgver=0.9.0
pkgrel=1
pkgdesc="An analytical platform for Prometheus metrics"
arch=('x86_64')
@@ -16,7 +16,7 @@
)
backup=('etc/promscale.conf')
options=('!lto')
-_commit='6caab16b3e0a0bc237f290f3288f2e7cd5c28f4b'
+_commit='fe63ed83e04f2a6e8f602dd70728947a5e6e49c0'
source=(
"$pkgname::git+$url.git#commit=$_commit"
'systemd.service'
@@ -52,6 +52,9 @@
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
+ # generate
+ go generate ./...
+
go build -v \
-buildmode=pie \
-trimpath \
@@ -58,7 +61,7 @@
-mod=readonly \
-modcacherw \
-ldflags "-linkmode external -extldflags ${LDFLAGS} \
- -X version.CommitHash=$($ git rev-parse HEAD) \
+ -X github.com/timescale/promscale/pkg/version.CommitHash=$(git rev-parse HEAD) \
-X telemetry.BuildPlatform=archlinux" \
-o build_output ./cmd/...
}
More information about the arch-commits
mailing list