Skip to content

Commit

Permalink
Use vendor in promu build.
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperQ committed Nov 15, 2019
1 parent 0ad30ec commit 3747751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .promu.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repository:
path: github.com/stanhu/pgbouncer_exporter
build:
flags: -a -tags 'netgo static_build'
flags: -mod=vendor -a -tags 'netgo static_build'
ldflags: |
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}}
Expand Down

0 comments on commit 3747751

Please sign in to comment.