-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
74 lines (64 loc) · 1.33 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# .goreleaser.yaml
version: 2
project_name: tailscale-derper
before:
hooks:
- go mod tidy
- git submodule update --init --recursive
builds:
- id: xdpderper
env:
- CGO_ENABLED=0
- TS_USE_GOCROSS=1
goos:
- linux
goarch:
- amd64
- arm64
main: ./cmd/xdpderper
binary: xdpderper
dir: tailscale
- id: derper
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
main: ./cmd/derper
binary: derper
dir: tailscale
nfpms:
- package_name: tailscale-derper
homepage: https://tailscale.com
maintainer: Lee Briggs <[email protected]>
description: Tailscale DERP and XDPDERP servers
formats:
- rpm
- deb
bindir: /usr/bin
contents:
- src: xdpderper.service
dst: /usr/lib/systemd/system/xdpderper.service
- src: derper.service
dst: /usr/lib/systemd/system/derper.service
scripts:
preinstall: ./scripts/preinstall.sh
postinstall: ./scripts/postinstall.sh
archives:
- name_template: "{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT"
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
github:
owner: lbrlabs
name: derper-package