forked from borisputerka/github_billing_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
44 lines (44 loc) · 1.08 KB
/
.goreleaser.yaml
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
project_name: github_billing_exporter
release:
github:
owner: borisputerka
name: github_billing_exporter
builds:
- id: github_billing_exporter
goos:
- linux
- windows
- darwin
goarch:
- amd64
- "386"
env:
- CGO_ENABLED=0
- GO111MODULE=on
main: github_billing_exporter.go
ldflags: -s -w
-X github.com/borisputerka/github_billing_exporter/version.version={{.Version}}
-X github.com/borisputerka/github_billing_exporter/version.gitSHA={{.Commit}}
-X github.com/borisputerka/github_billing_exporter/version.buildTime={{.Date}}
-extldflags "-static"
flags: -tags netgo -installsuffix netgo
binary: github_billing_exporter
hooks: {}
archives:
- id: github_billing_exporter
builds:
- github_billing_exporter
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*