-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.goreleaser-github.yaml
More file actions
83 lines (78 loc) · 1.61 KB
/
.goreleaser-github.yaml
File metadata and controls
83 lines (78 loc) · 1.61 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: 2
changelog:
use: github
sort: asc
format: "[{{ .SHA }}](https://github.com/obmondo/linuxaid-cli/commit/{{ .SHA }}) {{ .Message }}{{ with .AuthorUsername }} (@{{ . }}){{ end }}"
abbrev: 7
filters:
exclude:
- init
- Merge pull request
- Merge remote-tracking branch
- Merge branch
# Group commits messages by given regex and title.
groups:
- title: 💫 Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: 🐛 Bug fixes
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 1
- title: 🥴 Others
order: 999
archives:
- formats: [tar.gz]
# This name template makes the OS and Arch compatible with the results of uname.
name_template: >-
{{- .ProjectName }}_
{{- .Tag }}_
{{- .Os }}_
{{- .Arch }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
builds_info:
group: root
owner: root
mode: 0755
mtime: "{{ .CommitDate }}"
before:
hooks:
- go mod tidy
builds:
- id: "linuxaid-install"
main: ./cmd/linuxaid-install
binary: linuxaid-install
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
- arm
goarm:
- "6"
- "7"
flags:
- -v
ldflags:
- -X main.Version={{ .Tag }}
- -s -w
- id: "linuxaid-cli"
main: ./cmd/linuxaid-cli
binary: linuxaid-cli
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
- arm
goarm:
- "6"
- "7"
flags:
- -v
ldflags:
- -X main.Version={{ .Tag }}
- -s -w