-
Notifications
You must be signed in to change notification settings - Fork 94
/
.goreleaser.yml
70 lines (70 loc) · 1.71 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
# refer to https://goreleaser.com for more options
before:
hooks:
- go mod tidy
- go mod vendor
builds:
- id: azwi
dir: cmd/azwi
binary: azwi
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
flags:
- -mod=vendor
ldflags:
- -s
- -w
- -X {{.ModulePath}}/pkg/version.BuildTime={{.Date}}
- -X {{.ModulePath}}/pkg/version.BuildVersion={{.Tag}}
- -X {{.ModulePath}}/pkg/version.Vcs={{.ShortCommit}}
release:
prerelease: auto
header: |
## {{.Tag}} - {{ time "2006-01-02" }}
extra_files:
- glob: deploy/*.yaml
archives:
- format_overrides:
- goos: windows
format: zip
name_template: "azwi-{{.Tag}}-{{.Os}}-{{.Arch}}"
checksum:
name_template: 'sha256sums.txt'
algorithm: sha256
changelog:
skip: false
groups:
- 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: Features 🌈
regexp: ^.*feat[(\\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)]*:+.*$