-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
46 lines (41 loc) · 1 KB
/
.goreleaser.yaml
File metadata and controls
46 lines (41 loc) · 1 KB
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
version: 2
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- id: void
main: ./cmd/void
binary: void
env:
- CGO_ENABLED=0
goos: [darwin]
goarch: [amd64, arm64]
ldflags:
- "-X github.com/lc/void/internal/buildinfo.Version={{ .Version }}"
- "-X github.com/lc/void/internal/buildinfo.Commit={{ .ShortCommit }}"
- id: voidd
main: ./cmd/voidd
binary: voidd
env:
- CGO_ENABLED=0
goos: [darwin]
goarch: [amd64, arm64]
ldflags:
- "-X github.com/lc/void/internal/buildinfo.Version={{ .Version }}"
- "-X github.com/lc/void/internal/buildinfo.Commit={{ .ShortCommit }}"
archives:
- id: macos-archive
builds: [void, voidd]
format: tar.gz
name_template: >-
{{ .ProjectName }}_{{ .Os }}_{{ if eq .Arch "amd64" }}x86_64{{ else if eq .Arch "arm64" }}arm64{{ else }}{{ .Arch }}{{ end }}
files:
- LICENSE
- README.md
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'