Skip to content

Commit 284e41b

Browse files
committed
👷 Specify build config
1 parent 739369b commit 284e41b

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.goreleaser.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ builds:
3131
goarch:
3232
- amd64
3333
- arm64
34+
goamd64:
35+
- v1
36+
goarm64:
37+
- v8.0
3438
flags:
3539
- -trimpath
3640
- -tags=netgo
@@ -44,15 +48,18 @@ builds:
4448

4549
archives:
4650
- format: binary
51+
builds:
52+
- yutu
53+
name_template: "{{ .Binary }}"
4754

4855
source:
4956
enabled: true
57+
name_template: "{{ .ProjectName }}"
5058

5159
checksum:
5260
algorithm: blake2b
5361
split: true
5462
ids:
55-
- yutu
5663
- source
5764

5865
changelog:
@@ -61,16 +68,16 @@ changelog:
6168
abbrev: 0
6269
groups:
6370
- title: "Features"
64-
regexp: "^:(boom|sparkles|art|zap|recycle|wheelchair|children_crossing):.+"
71+
regexp: "^.*?:(boom|sparkles|art|zap|recycle|wheelchair|children_crossing):.+"
6572
order: 0
6673
- title: "Bug Fixes and Tests"
67-
regexp: "^:(bug|ambulance|white_check_mark|lock|rotating_light|pencil2):.+"
74+
regexp: "^.*?:(bug|ambulance|white_check_mark|lock|rotating_light|pencil2):.+"
6875
order: 1
6976
- title: "Documentation"
70-
regexp: "^:memo:.+"
77+
regexp: "^.*?:memo:.+"
7178
order: 2
7279
- title: "CI/CD"
73-
regexp: "^:(green_heart|construction_worker|rocket):.+"
80+
regexp: "^.*?:(green_heart|construction_worker|rocket):.+"
7481
order: 3
7582
- title: "Others"
7683
order: 999

0 commit comments

Comments
 (0)