-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
57 lines (54 loc) · 1.23 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
---
snapshot:
name_template: '{{ incminor .Version }}-prerelease'
builds:
- main: ./cmd/reimage
binary: reimage
id: "reimage"
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
goarm:
- "6"
- "7"
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- -s -w -X main.Version={{.Version}} -X main.Commit={{.FullCommit}} -X main.BuildDate={{.Date}}
archives:
- id: reimage
builds:
- reimage
name_template: 'reimage_{{ .Version }}_{{ title .Os }}_{{ if eq .Arch "amd64" }}x86_64{{ else }}{{ .Arch }}{{ end }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
checksum:
name_template: 'checksums.txt'
release:
header: |-
Reimage {{ .Version }}
---------------------
changelog:
sort: asc
groups:
- title: Features
regexp: 'feat(?:\(.+?\))?!?:'
order: 5
- title: Enhancements
regexp: 'enhancement(?:\(.+?\))?!?:'
order: 10
- title: Bug fixes
regexp: 'fix(?:\(.+?\))?!?:'
order: 15
- title: Documentation
regexp: 'docs(?:\(.+?\))?!?:'
order: 20
- title: Chores
regexp: 'chore(?:\(.+?\))?!?:'
order: 25
- title: Others
order: 100