-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yml
118 lines (109 loc) · 2.54 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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
before:
hooks:
- go mod tidy
builds:
- id: redactedhook
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
- freebsd
goarch:
- amd64
- arm
- arm64
goarm:
- "6"
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
- goos: darwin
goarch: arm
- goos: freebsd
goarch: arm
- goos: freebsd
goarch: arm64
main: cmd/redactedhook/main.go
binary: redactedhook
flags:
- -trimpath
ldflags:
- -s -w
- -X main.version={{.Version}}
- -X main.commit={{.Commit}}
- -X main.date={{.Date}}
- -extldflags '-static'
mod_timestamp: '{{ .CommitTimestamp }}'
archives:
- id: redactedhook
builds:
- redactedhook
format_overrides:
- goos: windows
format: zip
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
files:
- LICENSE
- README.md
wrap_in_directory: true
release:
prerelease: auto
footer: |
**Full Changelog**: https://github.com/s0up4200/redactedhook/compare/{{ .PreviousTag }}...{{ .Tag }}
## Docker images
- `docker pull ghcr.io/s0up4200/redactedhook:{{ .Tag }}`
- `docker pull ghcr.io/s0up4200/redactedhook:latest`
## Checksums
SHA256 checksums for the artifacts are available in the checksums.txt file.
## Installation
Download the appropriate binary for your system from the assets below.
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
algorithm: sha256
source:
enabled: true
name_template: '{{ .ProjectName }}_{{ .Version }}_source'
format: 'zip'
changelog:
sort: asc
use: github
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- '^chore:'
- '^style:'
groups:
- title: '🚀 New Features'
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: '🐛 Bug Fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: '🔒 Security'
regexp: "^.*security[(\\w)]*:+.*$"
order: 2
- title: '⚡ Performance'
regexp: "^.*perf[(\\w)]*:+.*$"
order: 3
- title: '♻️ Refactor'
regexp: "^.*refactor[(\\w)]*:+.*$"
order: 4
- title: '📦 Dependencies'
regexp: "^.*deps[(\\w)]*:+.*$"
order: 5
- title: 'Other Changes'
order: 999