-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
136 lines (126 loc) · 3.08 KB
/
Copy path.goreleaser.yaml
File metadata and controls
136 lines (126 loc) · 3.08 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
version: 2
project_name: lantern-box
metadata:
maintainers:
- "Lantern Team <dev@getlantern.org>"
description: Lantern Box
homepage: "https://github.com/getlantern/lantern-box"
license: "GPL"
builds:
- id: amd64
main: ./cmd
flags:
- -v
- -trimpath
goos:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=1
- CC=gcc
- CXX=g++
ldflags:
- -X github.com/sagernet/sing-box/constant.Version={{ .Version }} -s -w -buildid=
tags:
- with_gvisor
- with_quic
- with_dhcp
- with_wireguard
- with_utls
- with_acme
- with_clash_api
binary: lantern-box
- id: arm64
main: ./cmd
flags:
- -v
- -trimpath
goos:
- linux
goarch:
- arm64
env:
- CGO_ENABLED=1
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++
ldflags:
- -X github.com/sagernet/sing-box/constant.Version={{ .Version }} -s -w -buildid=
tags:
- with_gvisor
- with_quic
- with_dhcp
- with_wireguard
- with_utls
- with_acme
- with_clash_api
binary: lantern-box
archives:
- formats: ["tar.gz"]
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"
release:
replace_existing_artifacts: true
nfpms:
- id: lantern-box
package_name: "lantern-box"
formats:
- deb
- rpm
section: "default"
maintainer: "Lantern Team <dev@getlantern.org>"
description: |
Lantern Box
vendor: "Brave New Software"
homepage: "https://github.com/getlantern/lantern-box"
license: "GPL"
contents:
- src: cmd/release/lantern-box.service
dst: /usr/lib/systemd/system/lantern-box.service
- src: cmd/release/lantern-box@.service
dst: /usr/lib/systemd/system/lantern-box@.service
# Backward-compatible package for Gemfury consumers (e.g. private server feature).
# Same binary and service files, just published under the old name.
- id: gemfury-compat
package_name: "sing-box-extensions"
formats:
- deb
- rpm
section: "default"
maintainer: "Lantern Team <dev@getlantern.org>"
description: |
Lantern Box (legacy sing-box-extensions package name)
vendor: "Brave New Software"
homepage: "https://github.com/getlantern/lantern-box"
license: "GPL"
contents:
- src: cmd/release/lantern-box.service
dst: /usr/lib/systemd/system/sing-box-extensions.service
- src: cmd/release/lantern-box@.service
dst: /usr/lib/systemd/system/sing-box-extensions@.service
furies:
- account: getlantern
ids: [gemfury-compat]
formats:
- deb
- rpm
dockers:
- image_templates:
- "getlantern/lantern-box:latest"
- "getlantern/lantern-box:{{ .Tag }}"
dockerfile: Dockerfile.goreleaser
ids: [amd64]
dockerhub:
- images:
- getlantern/lantern-box
username: getlantern
secret_name: DOCKER_PASSWORD
full_description:
from_file:
path: ./README.md