-
Notifications
You must be signed in to change notification settings - Fork 230
/
.goreleaser.yml
58 lines (58 loc) · 1.22 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
release:
github:
owner: knqyf263
name: pet
name_template: '{{.Tag}}'
brews:
-
tap:
owner: knqyf263
name: homebrew-pet
commit_author:
name: goreleaserbot
email: [email protected]
description: "Simple command-line snippet manager"
homepage: "https://github.com/knqyf263/pet"
dependencies:
- fzf
install: |
bin.install Dir['pet']
zsh_completion.install "misc/completions/zsh/_pet"
test: |
system "#{bin}/pet"
builds:
- goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
- arm64
- "386"
goarm:
- "6"
main: .
ldflags: -s -w -X github.com/knqyf263/pet/cmd.version={{.Version}}
archives:
-
format: tar.gz
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- LICENSE*
- README*
- CHANGELOG*
- misc/completions/zsh/_pet
nfpms:
-
homepage: https://github.com/knqyf263/pet
maintainer: Teppei Fukuda <[email protected]>
description: "Simple command-line snippet manager"
bindir: /usr/local/bin
license: MIT
formats:
- deb
- rpm
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'