-
-
Notifications
You must be signed in to change notification settings - Fork 105
/
.goreleaser.yaml
55 lines (52 loc) · 956 Bytes
/
.goreleaser.yaml
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
version: 2
project_name: panel
builds:
- id: web
main: ./cmd/web
binary: web
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
ldflags:
- -s -w --extldflags "-static"
- id: cli
main: ./cmd/cli
binary: cli
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
ldflags:
- -s -w --extldflags "-static"
upx:
- enabled: true
# Filter by build ID.
ids:
- web
- cli
# Compress argument.
# Valid options are from '1' (faster) to '9' (better), and 'best'.
compress: best
# Whether to try LZMA (slower).
lzma: true
# Whether to try all methods and filters (slow).
brute: false
archives:
- id: panel
builds:
- web
- cli
format: zip
wrap_in_directory: false
strip_binary_directory: true
files:
- LICENSE
- config.example.yml
- storage/*