-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
46 lines (46 loc) · 992 Bytes
/
.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
release:
github:
owner: knqyf263
name: pet
name_template: '{{.Tag}}'
brew:
github:
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
- "386"
goarm:
- "6"
main: .
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
archive:
format: zip
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- LICENSE*
- README*
- CHANGELOG*
- misc/completions/zsh/_pet
fpm:
bindir: /usr/local/bin
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'