Skip to content

Commit

Permalink
Merge pull request #28 from pgier/update-build-info-flags
Browse files Browse the repository at this point in the history
update build info flags for go 1.11 modules
  • Loading branch information
openshift-merge-robot committed May 2, 2019
2 parents 712de7f + 2d98f6a commit 3ab9764
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .promu.yml
Expand Up @@ -8,11 +8,11 @@ build:
flags: -a -mod=vendor -tags 'netgo static_build'
ldflags: |
-s
-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"}}
tarball:
files:
- LICENSE
Expand Down

0 comments on commit 3ab9764

Please sign in to comment.