Skip to content

Commit 8e4e96f

Browse files
committed
use goreleaser to build packages
1 parent 7d9a606 commit 8e4e96f

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

.goreleaser.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
builds:
2+
- id: disk-usage
3+
main: ./
4+
env:
5+
- CGO_ENABLED=0
6+
mod_timestamp: '{{ .CommitTimestamp }}'
7+
goos:
8+
- linux
9+
goarch:
10+
- amd64
11+
- arm64
12+
binary: 'disk-usage'
13+
14+
archives:
15+
- format: binary
16+
17+
nfpms:
18+
- id: disk-usage
19+
package_name: disk-usage
20+
builds:
21+
- disk-usage
22+
vendor: observIQ, Inc
23+
homepage: https://github.com/BlueMedoraPublic/disk-usage
24+
maintainer: [email protected]
25+
formats:
26+
- rpm
27+
- deb
28+
bindir: /usr/local/bin
29+
30+
checksum:
31+
name_template: '{{ .ProjectName }}-v{{ .Version }}-SHA256SUMS'
32+
algorithm: sha256
33+
34+
release:
35+
draft: false
36+
37+
changelog:
38+
skip: false
39+
use: github
40+
sort: asc
41+
groups:
42+
- title: 'New Features'
43+
regexp: "^.*feat[(\\w)]*:+.*$"
44+
order: 0
45+
- title: 'Bug Fixes'
46+
regexp: "^.*fix[(\\w)]*:+.*$"
47+
order: 10
48+
- title: 'Dependencies'
49+
regexp: '^deps\(deps.*?\):\s.*$'
50+
order: 30
51+
- title: Other
52+
order: 999

0 commit comments

Comments
 (0)