-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.goreleaser.yml
47 lines (47 loc) · 1.23 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
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/iapetus
flags: -a -tags netgo
ldflags:
- -s -w
- -X github.com/kobtea/iapetus/vendor/github.com/prometheus/common/version.Version={{.Version}}
- -X github.com/kobtea/iapetus/vendor/github.com/prometheus/common/version.Revision={{.Commit}}
- -X github.com/kobtea/iapetus/vendor/github.com/prometheus/common/version.Branch={{.Env.BUILD_BRANCH}}
- -X github.com/kobtea/iapetus/vendor/github.com/prometheus/common/version.BuildUser={{.Env.BUILD_USER}}@{{.Env.BUILD_HOST}}
- -X github.com/kobtea/iapetus/vendor/github.com/prometheus/common/version.BuildDate={{.Env.BUILD_DATE}}
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: linux
goarch: arm
goarm: 7
nfpms:
- homepage: https://github.com/kobtea/iapetus
maintainer: Hiroaki Kobayashi <[email protected]>
description: Reverse Proxy for Prometheus
license: MIT
formats:
- deb
- rpm
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^cut:'
- '^typo'