-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yaml
85 lines (77 loc) · 1.59 KB
/
.goreleaser.yaml
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
84
85
version: 2
project_name: soa-404
before:
hooks:
- go mod download
builds:
- id: server
main: ./cmd/random-service
binary: server-{{ .Os }}-{{ .Arch }}
env:
- CGO_ENABLED=0
flags:
- -v
ldflags: []
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ignore: []
- id: client
main: ./cmd/client
binary: client-{{ .Os }}-{{ .Arch }}
env:
- CGO_ENABLED=0
flags:
- -v
ldflags: []
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ignore: []
archives:
- id: soa-404-archive
builds:
- server
- client
name_template: |-
{{ .ArtifactName }}
format: binary
checksum:
name_template: "cli_checksums.txt"
algorithm: sha256
release:
prerelease: auto
draft: false
header: ""
footer: ""
changelog:
use: github
sort: asc
abbrev: 0
groups: # Regex use RE2 syntax as defined here: https://github.com/google/re2/wiki/Syntax.
- title: "Features"
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 100
- title: "Bug fixes"
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 200
- title: "Documentation"
regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
order: 300
- title: "Dependency updates"
regexp: '^.*?(feat|fix|chore)\(deps?.+\)!?:.+$'
order: 400
- title: "Other work"
order: 999
filters:
exclude:
- "^test:"
- '^.*?Bump(\([[:word:]]+\))?.+$'
- '^.*?\[Bot\](\([[:word:]]+\))?.+$'
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json