-
Notifications
You must be signed in to change notification settings - Fork 133
/
.goreleaser.yml
67 lines (61 loc) · 1.49 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
release:
name_template: "{{ .Version }} - {{ .Date }}"
draft: true
header: |
[![Github Releases ({{ .Tag }})](https://img.shields.io/github/downloads/msoap/shell2http/{{ .Tag }}/total.svg)](https://github.com/msoap/shell2http/releases/latest) [![Github All Releases](https://img.shields.io/github/downloads/msoap/shell2http/total.svg)](https://github.com/msoap/shell2http/releases)
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
ignore:
- goos: windows
goarch: arm
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{ .Version }}
nfpms:
-
homepage: https://github.com/msoap/{{ .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:
-
format_overrides:
- goos: windows
format: zip
files:
- README*
- LICENSE*
- "*.1"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: desc
filters:
exclude:
- '^docs:'
- '^test:'
- '^Merge branch'
- '^go fmt'