forked from STNS/cache-stnsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
43 lines (41 loc) · 1015 Bytes
/
.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
builds:
- id: "cache-stnsd"
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
binary: "cache-stnsd"
ldflags:
- -s -w -X github.com/stns/cache-stnsd/cmd.version={{.Version}}
nfpms:
-
id: cache-stnsd-nfpms
file_name_template: "{{ .ProjectName }}_{{ .Version }}-1_{{ .Arch }}"
builds:
- cache-stnsd
homepage: https://github.com/STNS/cache-stnsd
maintainer: pyama86 <[email protected]>
description: cache daemon for STNS
license: MIT
formats:
- deb
- rpm
bindir: /usr/sbin
contents:
- src: ./package/cache-stnsd.service
dst: /etc/systemd/system/cache-stnsd.service
type: config
- src: ./package/cache-stnsd.logrotate
dst: /etc/logrotate.d/cache-stnsd
type: config
scripts:
postinstall: "package/scripts/postinstall.sh"
postremove: "package/scripts/postremove.sh"
epoch: 1
release:
github:
owner: STNS
name: cache-stnsd