-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
48 lines (42 loc) · 848 Bytes
/
.goreleaser.yml
File metadata and controls
48 lines (42 loc) · 848 Bytes
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
48
project_name: a7
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/a7
binary: a7
env:
- CGO_ENABLED=0
ldflags:
- -s -w
- -X github.com/api7/a7/internal/version.Version={{.Version}}
- -X github.com/api7/a7/internal/version.Commit={{.ShortCommit}}
- -X github.com/api7/a7/internal/version.Date={{.Date}}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
archives:
- format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"
release:
github:
owner: api7
name: a7
draft: false
prerelease: auto