-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
38 lines (38 loc) · 1.21 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
before:
hooks:
- go mod download
builds:
- id: "darwin"
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- amd64
- arm64
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`.
ldflags:
- -s -w -X github.com/hgschmie/ofa/v3/cmd.BuildVersion={{.Version}} -X github.com/hgschmie/ofa/v3/cmd.BuildCommit={{.Commit}} -X github.com/hgschmie/ofa/v3/cmd.BuildDate={{.Date}} -X github.com/hgschmie/ofa/v3/cmd.BuiltBy=goreleaser
- id: "linux"
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
- arm
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`.
goarm:
- 7
ldflags:
- -s -w -X github.com/hgschmie/ofa/v3/cmd.BuildVersion={{.Version}} -X github.com/hgschmie/ofa/v3/cmd.BuildCommit={{.Commit}} -X github.com/hgschmie/ofa/v3/cmd.BuildDate={{.Date}} -X github.com/hgschmie/ofa/v3/cmd.BuiltBy=goreleaser
archives:
- replacements:
darwin: Darwin
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: true