forked from influxdata/flux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
47 lines (43 loc) · 824 Bytes
/
.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
project_name: flux
builds:
- goos:
- linux
- darwin
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: darwin
goarch: arm
- goos: darwin
goarch: arm64
- goos: windows
goarch: 386
main: ./cmd/flux
env:
- GO111MODULE=on
- CGO_ENABLED=1
- CC=xcc
- PKG_CONFIG=/go/bin/pkg-config
ldflags: -s -w -X main.commit={{.Commit}}
binary: flux
archive:
format: tar.gz
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- LICENSE
- README.md
release:
prerelease: auto
name_template: "v{{.Version}}"