-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
58 lines (54 loc) · 1.13 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
env:
- GO111MODULE=on
before:
hooks:
- make
builds:
- id: "swamp"
binary: swamp
ldflags: -s -w -X github.com/swampapp/swamp/internal/version.GIT_SHA={{.ShortCommit}}
goos:
- linux
goarch:
- amd64
hooks:
post: upx --force swamp swp swampd
archives:
- id: default
builds:
- swamp
nfpms:
- builds:
- swamp
vendor: rubiojr
homepage: "https://github.com/swampapp/swamp"
maintainer: "Sergio Rubio <[email protected]"
description: "Restic repository browser"
license: BSD
contents:
- src: internal/resources/swamp.desktop
dst: /usr/share/applications/com.github.swampapp.desktop
- src: internal/resources/swampapp.png
dst: /usr/share/pixmaps/swampapp.png
- src: swampd
dst: /usr/bin/swampd
- src: swp
dst: /usr/bin/swp
formats:
- deb
- rpm
dependencies:
- mpv
bindir: /usr/bin
signs:
- artifacts: checksum
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"