-
Notifications
You must be signed in to change notification settings - Fork 71
/
goreleaser.yml
85 lines (83 loc) · 1.82 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
# refer to https://goreleaser.com for more options
version: 2
before:
hooks:
- go mod tidy
- go mod vendor
builds:
- id: azure-aci
dir: cmd/virtual-kubelet
binary: bin/virtual-kubelet
goos:
- linux
goarch:
- amd64
- arm64
goarm:
- 5
- 6
- 7
goamd64:
- v2
- v3
flags:
- -mod=vendor
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
- id: init-validation
dir: cmd/init-container
binary: bin/init-container
goos:
- linux
goarch:
- amd64
- arm64
goarm:
- 5
- 6
- 7
goamd64:
- v2
- v3
flags:
- -mod=vendor
env:
- CGO_ENABLED=0
- GO111MODULE=on
release:
prerelease: auto
header: |
## {{.Tag}} - {{ time "2006-01-02" }}
make_latest: true
changelog:
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)]*:+.*$