Lines 17-23
Link Here
|
17 |
|
17 |
|
18 |
USES= go:modules |
18 |
USES= go:modules |
19 |
|
19 |
|
|
|
20 |
BUILD_DATE= $$(date +%d-%B-%Y) |
21 |
|
20 |
GO_TARGET= ./cmd/${PORTNAME} |
22 |
GO_TARGET= ./cmd/${PORTNAME} |
|
|
23 |
GO_BUILDFLAGS= -ldflags "\ |
24 |
-s -w \ |
25 |
-X github.com/prometheus/common/version.Version=${DISTVERSION} \ |
26 |
-X github.com/prometheus/common/version.Revision="31cacc4" \ |
27 |
-X github.com/prometheus/common/version.Branch="master" \ |
28 |
-X github.com/prometheus/common/version.BuildUser=${USER} \ |
29 |
-X github.com/prometheus/common/version.BuildDate=${BUILD_DATE}" |
21 |
|
30 |
|
22 |
USE_GITHUB= yes |
31 |
USE_GITHUB= yes |
23 |
GH_ACCOUNT= thanos-io |
32 |
GH_ACCOUNT= thanos-io |