-
Notifications
You must be signed in to change notification settings - Fork 9
/
.goreleaser.yaml
135 lines (115 loc) · 2.28 KB
/
.goreleaser.yaml
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
env_files:
github_token: ~/.tokens/github
before:
hooks:
- go mod download
builds:
- id: linux
main: main.go
binary: oneshot
ldflags:
- -X github.com/forestnode-io/oneshot/cmd.version={{.Version}}
- -X github.com/forestnode-io/oneshot/cmd.date={{.Date}}
goos:
- linux
goarch:
- amd64
- arm
- arm64
- 386
- id: macos
main: main.go
binary: oneshot
ldflags:
- -X github.com/forestnode-io/oneshot/cmd.version={{.Version}}
- -X github.com/forestnode-io/oneshot/cmd.date={{.Date}}
goos:
- darwin
goarch:
- amd64
- id: windows
main: main.go
binary: oneshot
ldflags:
- -X github.com/forestnode-io/oneshot/cmd.version={{.Version}}
- -X github.com/forestnode-io/oneshot/cmd.date={{.Date}}
goos:
- windows
goarch:
- amd64
- 386
archives:
- id: brew
name_template: "oneshot_{{ .Version }}.{{ .Os }}-{{ .Arch }}"
builds:
- macos
- linux
replacements:
darwin: macos
amd64: x86_64
format: zip
files:
- LICENSE
- README.md
- oneshot.1
- id: windows-zip
name_template: "oneshot_{{ .Version }}.{{ .Os }}-{{ .Arch }}"
builds:
- windows
replacements:
386: i386
amd64: x86_64
format: zip
files:
- LICENSE
- README.md
- id: binary
name_template: "oneshot_{{ .Version }}.{{ .Os }}-{{ .Arch }}"
builds:
- linux
- macos
- windows
replacements:
darwin: macos
386: i386
amd64: x86_64
format: binary
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
brews:
- name: oneshot
ids:
- brew
tap:
owner: forestnode-io
name: brew
homepage: "https://github.com/forestnode-io/oneshot"
description: "A single fire HTTP server."
nfpms:
- package_name: oneshot
file_name_template: "oneshot_{{ .Version }}.{{ .Os }}-{{ .Arch }}"
builds:
- linux
replacements:
386: i386
amd64: x86_64
description: A first-come-first-serve single-fire HTTP server. Easily transfer files to and from your terminal and any browser.
license: MIT
formats:
- deb
- rpm
release:
ids:
- brew
- windows-zip
github:
owner: forestnode-io
name: oneshot
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'