Skip to content

Commit ba84e5c

Browse files
committed
do not use upx due to segmentation fault
1 parent 9c457fe commit ba84e5c

File tree

4 files changed

+4
-24
lines changed

4 files changed

+4
-24
lines changed

.github/workflows/pull-request.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ jobs:
1717
id: go
1818
- name: Check out code into the Go module directory
1919
uses: actions/[email protected]
20-
- name: Upgrade upx
21-
run: |
22-
# try to fix https://github.com/jenkins-zh/jenkins-cli/issues/493
23-
wget https://github.com/upx/upx/releases/download/v3.96/upx-3.96-amd64_linux.tar.xz
24-
tar xvf upx-3.96-amd64_linux.tar.xz
25-
upx-3.96-amd64_linux/upx -V
26-
sudo mv upx-3.96-amd64_linux/upx $(which upx)
27-
upx -V
2820
- name: Run GoReleaser
2921
uses: goreleaser/[email protected]
3022
with:

.github/workflows/release.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@ jobs:
1717
uses: actions/setup-go@v3
1818
with:
1919
go-version: 1.18
20-
- name: Upgrade upx
21-
run: |
22-
# try to fix https://github.com/jenkins-zh/jenkins-cli/issues/493
23-
wget https://github.com/upx/upx/releases/download/v3.96/upx-3.96-amd64_linux.tar.xz
24-
tar xvf upx-3.96-amd64_linux.tar.xz
25-
upx-3.96-amd64_linux/upx -V
26-
sudo mv upx-3.96-amd64_linux/upx $(which upx)
27-
rm -rf upx-3.96-amd64_linux
28-
rm -rf xvf upx-3.96-amd64_linux.tar.xz
29-
upx -V
3020
- name: Image Registry Login
3121
run: |
3222
docker login --username ${{ secrets.DOCKER_HUB_USER }} --password ${{secrets.DOCKER_HUB_TOKEN}}

.goreleaser.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ builds:
2222
goarch: arm64
2323
- goos: darwin
2424
goarch: arm
25-
hooks:
26-
post:
27-
- upx "{{ .Path }}"
2825
ldflags:
2926
- -X github.com/linuxsuren/cobra-extension/version.version={{.Version}}
3027
- -X github.com/linuxsuren/cobra-extension/version.commit={{.ShortCommit}}

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ Want to go through the code? [GitPod](https://gitpod.io/#https://github.com/linu
3535

3636
## Download
3737
```shell
38-
hd get https://github.com/jenkins-zh/jenkins-cli/releases/latest/download/jcli-linux-amd64.tar.gz --thread 6
38+
hd get https://github.com/jenkins-zh/jenkins-cli/releases/latest/download/mde-linux-amd64.tar.gz --thread 6
3939
```
4040

4141
Or use a simple way instead of typing the whole URL:
4242

4343
```shell
44-
hd get jcli
44+
hd get mde
4545
```
4646

4747
Or you might want to download a pre-released binary package from GitHub:
@@ -54,7 +54,8 @@ hd get --pre ks
5454
You can also install a package from GitHub:
5555

5656
```shell
57-
hd install jcli -t 6
57+
#!title: Install mde with specific threads
58+
hd install mde -t 6
5859
```
5960

6061
or install by a category name:

0 commit comments

Comments
 (0)