File tree Expand file tree Collapse file tree 5 files changed +35
-11
lines changed Expand file tree Collapse file tree 5 files changed +35
-11
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,15 @@ builds:
24
24
# - s390x
25
25
# - arm
26
26
# - arm64
27
+ extra_files :
28
+ - from : ../config
29
+ to : config
27
30
archives :
28
- - format : zip
31
+ - format : zip
32
+ files :
33
+ - LICENSE*
34
+ - README*
35
+ - config/**/*
29
36
30
37
checksum :
31
38
name_template : " {{ .ProjectName }}-linux-checksums.txt"
Original file line number Diff line number Diff line change @@ -14,8 +14,15 @@ builds:
14
14
- linux
15
15
goarch :
16
16
- arm64
17
+ extra_files :
18
+ - from : ../config
19
+ to : config
17
20
archives :
18
- - format : zip
21
+ - format : zip
22
+ files :
23
+ - LICENSE*
24
+ - README*
25
+ - config/**/*
19
26
20
27
checksum :
21
28
name_template : " {{ .ProjectName }}-linux-checksums.txt"
Original file line number Diff line number Diff line change @@ -15,11 +15,15 @@ builds:
15
15
goarch :
16
16
- amd64
17
17
- arm64
18
+ extra_files :
19
+ - from : ../config
20
+ to : config
18
21
19
22
archives :
20
- - format : zip
21
- replacements :
22
- darwin : macOS
23
-
23
+ - format : zip
24
+ files :
25
+ - LICENSE*
26
+ - README*
27
+ - config/**/*
24
28
checksum :
25
29
name_template : " {{ .ProjectName }}-mac-checksums.txt"
Original file line number Diff line number Diff line change @@ -17,9 +17,15 @@ builds:
17
17
goarch :
18
18
- amd64
19
19
# - arm64
20
-
20
+ extra_files :
21
+ - from : ../config
22
+ to : config
21
23
archives :
22
- - format : zip
24
+ - format : zip
25
+ files :
26
+ - LICENSE*
27
+ - README*
28
+ - config/**/*
23
29
24
30
checksum :
25
31
name_template : " {{ .ProjectName }}-windows-checksums.txt"
Original file line number Diff line number Diff line change 41
41
with :
42
42
submodules : recursive
43
43
fetch-depth : 0
44
- - name : Checkout submodules
45
- run : git submodule update --init --recursive
44
+ # - name: Checkout submodules
45
+ # run: git submodule update --init --recursive
46
46
# - name: Install cross-compiler for linux/arm64
47
47
# run: sudo apt-get -y install gcc-aarch64-linux-gnu
48
48
- name : Set up Go
55
55
# sudo apt-get -y install gcc-mingw-w64-x86-64
56
56
# sudo apt-get -y install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
57
57
# sudo apt-get -y install gcc-aarch64-linux-gnu libc6-dev-arm64-cross
58
- sudo apt install -yy libpcap-dev
58
+ sudo apt install -yy libpcap-dev upx
59
59
# sudo apt install upx gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
60
60
chmod +x .github/workflows/upx.sh
61
61
# git submodule update --init --recursive --remote
You can’t perform that action at this time.
0 commit comments