Skip to content
Snippets Groups Projects
Commit aedd7708 authored by Johannes Löthberg's avatar Johannes Löthberg
Browse files

upgpkg: 0.14.0-2

parent e32dda7a
No related branches found
Tags 0.21.0-1
No related merge requests found
......@@ -2,7 +2,7 @@
pkgname=prometheus-blackbox-exporter
pkgver=0.14.0
pkgrel=1
pkgrel=2
pkgdesc="Allows blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP"
arch=('x86_64')
url="https://github.com/prometheus/blackbox_exporter"
......@@ -23,7 +23,12 @@ build() {
go build \
-gcflags "all=-trimpath=${PWD}" \
-asmflags "all=-trimpath=${PWD}" \
-ldflags "-extldflags ${LDFLAGS}" \
-ldflags "-extldflags ${LDFLAGS} \
-X github.com/prometheus/common/version.Version=$pkgver \
-X github.com/prometheus/common/version.Revision=$pkgver \
-X github.com/prometheus/common/version.Branch=tarball \
-X github.com/prometheus/common/version.BuildUser=someone@builder \
-X github.com/prometheus/common/version.BuildDate=$SOURCE_DATE_EPOCH" \
.
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment