forked from sergeymakinen/ipsec_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
57 lines (55 loc) · 1.31 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
builds:
- main: ./cmd/ipsec_exporter
ldflags: |
-s
-X github.com/prometheus/common/version.Version={{.Version}}
-X github.com/prometheus/common/version.Revision={{.FullCommit}}
-X github.com/prometheus/common/version.Branch={{.Branch}}
-X github.com/prometheus/common/version.BuildUser={{.Env.USER}}@{{.Env.HOSTNAME}}
-X github.com/prometheus/common/version.BuildDate={{time "20060102-15:04:05"}}
tags:
- netgo
env:
- CGO_ENABLED=0
targets:
- aix_ppc64
- darwin_amd64
- darwin_arm64
- dragonfly_amd64
- freebsd_386
- freebsd_amd64
- freebsd_arm64
- freebsd_arm_6
- freebsd_arm_7
- illumos_amd64
- linux_386
- linux_amd64
- linux_arm64
- linux_arm_5
- linux_arm_6
- linux_arm_7
- linux_mips
- linux_mips64
- linux_mips64le
- linux_mipsle
- linux_ppc64
- linux_ppc64le
- linux_s390x
- netbsd_386
- netbsd_amd64
- netbsd_arm64
- netbsd_arm_6
- netbsd_arm_7
- openbsd_386
- openbsd_amd64
- openbsd_arm64
- openbsd_arm_7
- windows_386
- windows_amd64
- windows_arm64
archives:
- format_overrides:
- goos: windows
format: zip
release:
prerelease: auto