Skip to content

Commit fb72c83

Browse files
committed
Add .goreleaser.yml
1 parent 81b653f commit fb72c83

File tree

3 files changed

+1055
-0
lines changed

3 files changed

+1055
-0
lines changed

.goreleaser.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
before:
2+
hooks:
3+
- go mod download
4+
- go mod tidy
5+
builds:
6+
-
7+
id: capv-linux
8+
env:
9+
- CGO_ENABLED=0
10+
goos:
11+
- linux
12+
ldflags:
13+
- -s -w -X github.com/k1LoW/capv.version={{.Version}} -X github.com/k1LoW/capv.commit={{.FullCommit}} -X github.com/k1LoW/capv.date={{.Date}} -X github.com/k1LoW/capv/version.Version={{.Version}}
14+
archives:
15+
-
16+
id: capv-archive
17+
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
18+
format_overrides:
19+
- goos: darwin
20+
format: zip
21+
files:
22+
- CREDITS
23+
- README.md
24+
- CHANGELOG.md
25+
checksum:
26+
name_template: 'checksums.txt'
27+
snapshot:
28+
name_template: "{{ .Version }}-next"
29+
changelog:
30+
skip: true
31+
nfpms:
32+
-
33+
id: capv-nfpms
34+
file_name_template: "{{ .ProjectName }}_{{ .Version }}-1_{{ .Arch }}"
35+
builds:
36+
- capv-linux
37+
homepage: https://github.com/k1LoW/capv
38+
maintainer: Ken'ichiro Oyama <k1lowxb@gmail.com>
39+
description: capv is a viewer of Linux capabilitiies.
40+
license: MIT
41+
formats:
42+
- deb
43+
- rpm
44+
bindir: /usr/bin
45+
epoch: 1

CHANGELOG.md

Whitespace-only changes.

0 commit comments

Comments
 (0)