forked from kaito-project/kaito
-
Notifications
You must be signed in to change notification settings - Fork 0
/
goreleaser.yml
64 lines (62 loc) · 1.48 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
# refer to https://goreleaser.com for more options
before:
hooks:
- go mod tidy
builds:
- id: kaito
main: ./cmd
binary: bin/kaito
goos:
- linux
goarch:
- amd64
- arm64
goarm:
- 5
- 6
- 7
goamd64:
- v2
- v3
flags:
- -mod=mod
ldflags:
- -s
- -w
- -X {{.ModulePath}}/pkg/version.BuildTime={{.Date}}
- -X {{.ModulePath}}/pkg/version.BuildVersion={{.Tag}}
- -X {{.ModulePath}}/pkg/version.Vcs={{.ShortCommit}}
env:
- CGO_ENABLED=0
- GO111MODULE=on
release:
prerelease: auto
header: |
## {{.Tag}} - {{ time "2006-01-02" }}
changelog:
skip: false
groups:
- title: Features 🌈
regexp: ^.*feat[(\\w)]*:+.*$
- title: Bug Fixes 🐞
regexp: ^.*fix[(\\w)]*:+.*$
- title: Build 🏭
regexp: ^.*build[(\\w)]*:+.*$
- title: Code Refactoring 💎
regexp: ^.*refactor[(\\w)]*:+.*$
- title: Code Style 🎶
regexp: ^.*style[(\\w)]*:+.*$
- title: Continuous Integration 💜
regexp: ^.*ci[(\\w)]*:+.*$
- title: Documentation 📘
regexp: ^.*docs[(\\w)]*:+.*$
- title: Maintenance 🔧
regexp: ^.*chore[(\\w)]*:+.*$
- title: Performance Improvements 🚀
regexp: ^.*perf[(\\w)]*:+.*$
- title: Revert Change ◀️
regexp: ^.*revert[(\\w)]*:+.*$
- title: Security Fix 🛡️
regexp: ^.*security[(\\w)]*:+.*$
- title: Testing 💚
regexp: ^.*test[(\\w)]*:+.*$