-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
80 lines (77 loc) · 1.54 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
before:
hooks:
- go mod tidy
- go mod vendor
builds:
-
id: mdviewer-linux
binary: mdviewer
ldflags:
- -X main.Version={{.Version}}
- -X main.Revision={{.ShortCommit}}
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm
- arm64
-
id: mdviewer-other
binary: mdviewer
ldflags:
- -X main.Version={{.Version}}
- -X main.Revision={{.ShortCommit}}
env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- freebsd
goarch:
- '386'
- amd64
- arm
- arm64
archives:
-
id: mdviewer-archives
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
builds:
- mdviewer-linux
- mdviewer-other
files:
- LICENSE
- README.md
format: zip
nfpms:
-
id: mdviewer-nfpms
file_name_template: "{{ .ProjectName }}_{{ .Version }}-1_{{ .Arch }}"
builds:
- mdviewer-linux
homepage: https://github.com/noborus/mdviewer
maintainer: Noboru Saito <[email protected]>
description: "markdown viewer"
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
brews:
-
name: mdviewer
repository:
owner: noborus
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
commit_author:
name: noborus
email: [email protected]
homepage: https://github.com/noborus/mdviewer
description: "markdown viewer"
test:
system "#{bin}/mdviewer --version"
install:
bin.install "mdviewer"