-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
59 lines (55 loc) · 1.31 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
59
project_name: qiisync
before:
hooks:
- go mod tidy
builds:
-
goos:
- linux
- darwin
- windows
goarch:
- amd64
- 386
main: ./cmd/qiisync
binary: qiisync
ldflags:
- -s -w
- "-X main.version={{.Version}}"
archives:
- format: zip
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
- LICENSE
- README.md
nfpms:
-
formats:
- deb
- rpm
vendor: "d-tsuji"
homepage: "https://github.com/d-tsuji/qiisync"
maintainer: "Tsuji Daishiro"
description: "Qiita CLI tool, support push and pull from/to local filesystem and Qiita."
license: "MIT"
file_name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
amd64: 64-bit
386: 32-bit
darwin: macOS
linux: Tux
brews:
- description: "Qiita CLI tool, support push and pull from/to local filesystem and Qiita."
github:
owner: d-tsuji
name: homebrew-qiisync
commit_author:
name: goreleaserbot
email: [email protected]
homepage: "https://github.com/d-tsuji/qiisync"
install: |
bin.install "qiisync"
test: |
system "#{bin}/qiisync"
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"