-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
50 lines (45 loc) · 1.04 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
project_name: n43
dist: ./dist
release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL or empty if its private hosted.
github:
owner: Xumeiquer
name: n43
before:
hooks:
- go mod tidy
builds:
- id: n43
main: ./cmd/main.go
binary: n43
goos:
- darwin
- linux
- windows
goarch:
- "386"
- amd64
flags:
- -trimpath
ldflags:
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
changelog:
use: github
sort: asc
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: "Bug fixes"
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 1
- title: Performance Improvements
regexp: '^.*?perf(\([[:word:]]+\))??!?:.+$'
order: 2
- title: Code Refactoring
regexp: '^.*?refactor(\([[:word:]]+\))??!?:.+$'
order: 3
- title: Chore
regexp: '^.*?chore(\([[:word:]]+\))??!?:.+$'
order: 999