-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
81 lines (79 loc) · 1.77 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
before:
hooks:
- go mod tidy
builds:
- id: owobot
env:
- CGO_ENABLED=0
binary: owobot
goos:
- linux
goarch:
- amd64
- 386
- arm64
- arm
- riscv64
archives:
- files:
- owobot.service
- owobot.toml
nfpms:
- id: owobot
description: "Your server's guardian and entertainer"
homepage: 'https://gitea.elara.ws/owobot/owobot'
maintainer: 'Elara Musayelyan <[email protected]>'
license: AGPLv3
formats:
- deb
- rpm
- archlinux
provides:
- owobot
conflicts:
- owobot
contents:
- src: owobot.service
dst: /etc/systemd/system/owobot.service
- src: owobot.toml
dst: /etc/owobot/config.toml
type: "config|noreplace"
aurs:
- name: owobot-bin
homepage: 'https://gitea.elara.ws/owobot/owobot'
description: "Your server's guardian and entertainer"
maintainers:
- 'Elara Musayelyan <[email protected]>'
license: AGPLv3
private_key: '{{ .Env.AUR_KEY }}'
git_url: 'ssh://[email protected]/owobot-bin.git'
provides:
- owobot
conflicts:
- owobot
backup:
- etc/owobot/config.toml
package: |-
# binaries
install -Dm755 ./owobot "${pkgdir}/usr/bin/owobot"
# configs
install -Dm644 ./owobot.toml "${pkgdir}/etc/owobot/config.toml"
# services
install -Dm644 ./owobot.service "${pkgdir}/etc/systemd/system/owobot.service"
release:
gitea:
owner: owobot
name: owobot
announce:
discord:
enabled: true
gitea_urls:
api: 'https://gitea.elara.ws/api/v1/'
download: 'https://gitea.elara.ws'
skip_tls_verify: false
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc