-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yml
30 lines (29 loc) · 917 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
builds:
- binary: supper
goos:
- windows
- darwin
- linux
goarch:
- amd64
ldflags: >
-s -w
-X github.com/tympanix/supper/app/cli.appVersion={{.Version}}
-X github.com/tympanix/supper/app/cli.appCommit={{.Commit}}
-X github.com/tympanix/supper/app/cli.appDate={{.Date}}
-X github.com/tympanix/supper/media/provider.tmdbToken={{.Env.TMDB_TOKEN}}
-X github.com/tympanix/supper/media/provider.thetvdbToken={{.Env.THETVDB_TOKEN}}
nfpms:
- vendor: github.com/tympanix
maintainer: tympanix <[email protected]>
description: A blazingly fast multimedia manager
license: GNU-v3.0
formats:
- deb
files:
./etc/supper.service: /lib/systemd/system/supper.service
config_files:
./etc/supper.yaml: /etc/supper/supper.yaml
scripts:
preinstall: ./etc/preinstall.sh
postinstall: ./etc/postinstall.sh