-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
58 lines (57 loc) · 1.29 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
51
52
53
54
55
56
57
58
version: 2
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
ldflags:
- -X github.com/tjhop/clip/cmd.builddate={{ .CommitDate }}
- -X github.com/tjhop/clip/cmd.version={{ .Version }}
- -X github.com/tjhop/clip/cmd.commit={{ .Commit }}
binary: clip
gomod:
proxy: true
mod: mod
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
nfpms:
- package_name: 'clip'
homepage: 'https://github.com/tjhop/clip'
maintainer: 'TJ Hoplock <[email protected]>'
description: 'Cross Platform CLI clipboard and templating tool'
formats:
- apk
- deb
- rpm
- archlinux
bindir: /usr/bin
contents:
- src: ./README.md
dst: /usr/share/doc/tjhop/clip/README.md
archives:
- files:
- LICENSE*
- README*
changelog:
sort: asc
filters:
exclude:
- '^Merge pull request'
- '^ci(?:\(\w+\))?\!?:'
- '^docs(?:\(\w+\))?\!?:'
- '^test(?:\(\w+\))?\!?:'
groups:
- title: "New Features And Changes"
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: "Fixes"
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 1
- title: "Other Changes"
order: 999