-
Notifications
You must be signed in to change notification settings - Fork 25
/
.goreleaser.yml
58 lines (54 loc) · 1.2 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: 2
# .goreleaser.yml
project_name: netfetch
# Changelog Configuration
changelog:
sort: desc
filters:
exclude:
- '^Merge pull request'
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: "Bug fixes"
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 1
- title: "Documentation Updates"
regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
order: 2
- title: "Other Changes"
regexp: "^(ci|build|misc|perf|deps):"
order: 3
- title: "Miscellaneous"
regexp: ".*"
order: 4
# Build Configuration
builds:
- id: "netfetch"
main: ./backend/main.go
binary: netfetch
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -s -w -X 'github.com/deggja/netfetch/backend/cmd.Version={{.Version}}'
# Additional build flags can be added here
# Archive Configuration
archives:
- id: "archive"
builds:
- netfetch
format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true
# Release Configuration
release:
github:
owner: deggja
name: netfetch
draft: false