-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
96 lines (87 loc) · 2.76 KB
/
.goreleaser.yaml
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
86
87
88
89
90
91
92
93
94
95
96
project_name: gha-templates
builds:
- skip: true
dist: goreleaser
snapshot:
name_template: "{{ .Env.SNAPSHOT_VERSION }}-SNAPSHOT-{{.ShortCommit}}"
git:
tag_sort: -version:refname
prerelease_suffix: "-"
ignore_tags:
- latest
- "v?"
- "v??"
- "v?.?"
- "v?.??"
- "v??.?"
- "v??.??"
changelog:
sort: asc
use: github
filters:
exclude:
- "^test:"
- "^chore"
- "merge conflict"
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- go mod tidy
groups:
- title: "📦 Dependency updates"
regexp: '^.*?(feat|fix|chore)\(deps\)!?:.+$'
order: 300
- title: "🚀 New Features"
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 100
- title: "⚠️ Security updates"
regexp: '^.*?sec(\([[:word:]]+\))??!?:.+$'
order: 150
- title: "🐞 🐛 Bug fixes"
regexp: '^.*?(fix|refactor)(\([[:word:]]+\))??!?:.+$'
order: 200
- title: "📚 Documentation updates"
regexp: ^.*?docs?(\([[:word:]]+\))??!?:.+$
order: 400
- title: "🏗️ Build process updates"
regexp: ^.*?(build|ci)(\([[:word:]]+\))??!?:.+$
order: 400
- title: "🧰 Other work"
order: 9999
release:
prerelease: auto
make_latest: true
name_template: "{{.Tag}}"
header: |
## Upgrading
This project uses the semver versioning and ensures that following rules:
The patch release does not introduce any breaking changes. So if you are upgrading from v1.5.1 to v1.5.3 there should be no special instructions to follow.
The minor release might introduce minor changes with a workaround. If you are upgrading from v1.3.0 to v1.5.2 please make sure to check upgrading details in both v1.3 to v1.4 and v1.4 to v1.5 upgrading instructions.
The major release introduces backward incompatible behavior changes. It is recommended to take a backup using disaster recovery guide.
footer: |
**Full Changelog**: https://github.com/ixxeL-DevOps/gha-templates/compare/{{ .PreviousTag }}...{{ .Tag }}
# changelog:
# use:
# github
# sort: asc
# abbrev: 0
# groups: # Regex use RE2 syntax as defined here: https://github.com/google/re2/wiki/Syntax.
# - title: 'Features'
# regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
# order: 100
# - title: 'Bug fixes'
# regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
# order: 200
# - title: 'Documentation'
# regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
# order: 300
# - title: 'Dependency updates'
# regexp: '^.*?(feat|fix|chore)\(deps?.+\)!?:.+$'
# order: 400
# - title: 'Other work'
# order: 999
# filters:
# exclude:
# - '^test:'
# - '^.*?Bump(\([[:word:]]+\))?.+$'
# - '^.*?[Bot](\([[:word:]]+\))?.+$'