forked from virtual-kubelet/azure-aci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
goreleaser.yml
84 lines (82 loc) · 1.81 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
# refer to https://goreleaser.com for more options
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" }}
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)]*:+.*$