Skip to content

Commit

Permalink
removed some crossbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
spagno committed Feb 16, 2020
1 parent a6d93f2 commit 1daa3b7
Showing 1 changed file with 11 additions and 20 deletions.
31 changes: 11 additions & 20 deletions .promu.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,29 @@
go:
cgo: true
version: 1.13
repository:
path: github.com/spagno/iscdhcpd_exporter
build:
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 "20180826-05:18: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 "20180826-05:18:05"}}
tarball:
files:
- LICENSE
crossbuild:
platforms:
- linux/amd64
- linux/386
- darwin/amd64
- darwin/386
- windows/amd64
- windows/386
- freebsd/amd64
- freebsd/386
- openbsd/amd64
- openbsd/386
- netbsd/amd64
- netbsd/386
- dragonfly/amd64
- linux/arm
- linux/arm64
- freebsd/arm
- openbsd/arm
- netbsd/arm
- linux/mips
- linux/mipsle
- linux/mips64
- linux/mips64le
- linux/s390x
- linux/ppc64
- linux/ppc64le
- linux/s390x

0 comments on commit 1daa3b7

Please sign in to comment.