-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
67 lines (67 loc) · 1.41 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
---
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
ldflags:
- -s -w -X {{ .ModulePath }}/cmd.date={{ .CommitDate }}
- -X {{ .ModulePath }}/cmd.commit={{ .Commit }}
- -X {{ .ModulePath }}/cmd.version={{ .Version }}
archives:
- format: binary
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^test:'
- "^chore"
- "merge conflict"
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- go mod tidy
groups:
- title: "Features"
regexp: "^.*?feat:.*$"
order: 0
- title: "Bug fixes"
regexp: "^.*?fix:.*$"
order: 1
- title: "Chores"
regexp: "^.*?chore:.*$"
order: 2
- title: "Docs"
regexp: "^.*?docs:.*$"
order: 3
- title: "CI"
regexp: "^.*?ci:.*$"
order: 4
- title: "Build"
regexp: "^.*?build:.*$"
order: 5
- title: Others
order: 999
# brews:
# - repository:
# owner: retr0h
# name: homebrew-tap
# folder: Formula
# goarm: "7"
# homepage: https://github.com/retr0h/psion
# description: A GIT layering tool
# license: MIT
# test: |
# system "#{bin}/goreleaser -v"
# dependencies:
# - name: go
# type: optional
# - name: git