From 7a83cda50c8ad0f2bd95f960103a3bc0ac14a33c Mon Sep 17 00:00:00 2001 From: Johnathan Falk Date: Thu, 28 Mar 2019 11:37:26 -0400 Subject: [PATCH] Fix version info after change to go mods. (#991) --- .promu.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.promu.yml b/.promu.yml index 3bf9e9a742..812de03eae 100644 --- a/.promu.yml +++ b/.promu.yml @@ -6,11 +6,11 @@ build: path: ./cmd/thanos flags: -a -tags netgo ldflags: | - -X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}} - -X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}} - -X {{repoPath}}/vendor/github.com/prometheus/common/version.Branch={{.Branch}} - -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildUser={{user}}@{{host}} - -X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} + -X github.com/prometheus/common/version.Version={{.Version}} + -X github.com/prometheus/common/version.Revision={{.Revision}} + -X github.com/prometheus/common/version.Branch={{.Branch}} + -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}} + -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} crossbuild: platforms: - linux/amd64