-
Notifications
You must be signed in to change notification settings - Fork 11
/
.goreleaser.yml
46 lines (42 loc) · 1.47 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
project_name: tailscale-ui
builds:
- goos:
- linux
goarch:
- amd64
ldflags:
- -s -w -X github.com/muchobien/tailscale-ui.version={{ .Version }}
archives:
- format: tar.gz
name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
- assets/tailscale-ui.png
- assets/tailscale-ui.service
- assets/tailscale-ui-daemon.service
nfpms:
- file_name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
homepage: "https://muchobien.dev"
maintainer: "Kevin López Cala <[email protected]>"
description: "A Tailscale UI for Ubuntu."
license: MIT
formats:
- deb
dependencies:
- tailscale
- bash
contents:
- src: assets/tailscale-ui.png
dst: /usr/share/icons/hicolor/scalable/apps/tailscale-ui.png
- src: assets/tailscale-ui.service
dst: /usr/lib/systemd/user/tailscale-ui.service
- src: assets/tailscale-ui-daemon.service
dst: /etc/systemd/system/tailscale-ui-daemon.service
- src: assets/tailscale-appicon.png
dst: /usr/share/icons/hicolor/scalable/apps/tailscale-appicon.png
- src: assets/tailscale-ui.desktop
dst: /usr/share/applications/tailscale-ui.desktop
scripts:
postinstall: "scripts/postinstall.sh"
postremove: "scripts/postremove.sh"
checksum:
name_template: "{{ .ProjectName }}-v{{ .Version }}-checksums.txt"