forked from msoap/shell2http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
56 lines (50 loc) · 1.03 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
release:
name_template: "{{ .Version }} - {{ .Date }}"
draft: true
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{ .Version }}
nfpms:
-
homepage: https://github.com/BrightLocal/{{ .ProjectName }}
description: HTTP-server to execute shell commands. Designed for development, prototyping or remote control.
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
contents:
- src: shell2http.1
dst: /usr/share/man/man1/shell2http.1
- src: LICENSE
dst: /usr/share/doc/shell2http/copyright
- src: README.md
dst: /usr/share/doc/shell2http/README.md
archives:
-
files:
- README*
- LICENSE*
- "*.1"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: desc
filters:
exclude:
- '^docs:'
- '^test:'
- '^Merge branch'
- '^go fmt'