-
Notifications
You must be signed in to change notification settings - Fork 8
/
.goreleaser.yml
72 lines (72 loc) · 1.57 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
before:
hooks:
- go mod download
builds:
- binary: replbot
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
nfpms:
-
package_name: replbot
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
homepage: https://heckel.io/replbot
maintainer: Philipp C. Heckel <[email protected]>
description: Slack/Discord bot for running interactive REPLs
license: Apache 2.0
formats:
- deb
- rpm
dependencies:
- tmux
suggests:
- asciinema
- docker-ce
recommends:
- openssh-client
bindir: /usr/bin
contents:
- src: config/config.yml
dst: /etc/replbot/config.yml
type: config
- src: config/script.d
dst: /etc/replbot/script.d
type: config
- src: config/replbot.service
dst: /lib/systemd/system/replbot.service
scripts:
postinstall: "scripts/postinst.sh"
postremove: "scripts/postrm.sh"
archives:
-
wrap_in_directory: true
files:
- LICENSE
- README.md
- config/config.yml
- config/replbot.service
- config/script.d
replacements:
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
dockers:
- dockerfile: Dockerfile
ids:
- replbot
image_templates:
- "binwiederhier/replbot:latest"
- "binwiederhier/replbot:{{ .Tag }}"
- "binwiederhier/replbot:v{{ .Major }}.{{ .Minor }}"