Skip to content

Commit fd772b2

Browse files
committed
Refine release management assets
1 parent 6620b6e commit fd772b2

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.goreleaser.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
# https://goreleaser.com/customization/
21
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
32
version: 2
43

4+
# https://goreleaser.com/customization/hooks/
55
before:
66
hooks:
77
- go mod tidy
88

9+
# https://goreleaser.com/customization/builds/
910
builds:
1011
- main: ./cmd/namigo
1112
id: namigo
@@ -19,6 +20,21 @@ builds:
1920
flags:
2021
- -trimpath
2122

23+
# https://goreleaser.com/customization/changelog/
24+
changelog:
25+
sort: asc
26+
use: github
27+
filters:
28+
exclude:
29+
- "^Refactor"
30+
- "^Rename"
31+
- "^Simplify"
32+
- "^Update"
33+
- comments
34+
- line break
35+
- tests
36+
37+
# https://goreleaser.com/customization/release/
2238
release:
2339
github:
2440
owner: huangsam

0 commit comments

Comments
 (0)