File tree Expand file tree Collapse file tree 4 files changed +4
-24
lines changed Expand file tree Collapse file tree 4 files changed +4
-24
lines changed Original file line number Diff line number Diff line change 17
17
id : go
18
18
- name : Check out code into the Go module directory
19
19
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
28
20
- name : Run GoReleaser
29
21
uses :
goreleaser/[email protected]
30
22
with :
Original file line number Diff line number Diff line change 17
17
uses : actions/setup-go@v3
18
18
with :
19
19
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
30
20
- name : Image Registry Login
31
21
run : |
32
22
docker login --username ${{ secrets.DOCKER_HUB_USER }} --password ${{secrets.DOCKER_HUB_TOKEN}}
Original file line number Diff line number Diff line change @@ -22,9 +22,6 @@ builds:
22
22
goarch : arm64
23
23
- goos : darwin
24
24
goarch : arm
25
- hooks :
26
- post :
27
- - upx "{{ .Path }}"
28
25
ldflags :
29
26
- -X github.com/linuxsuren/cobra-extension/version.version={{.Version}}
30
27
- -X github.com/linuxsuren/cobra-extension/version.commit={{.ShortCommit}}
Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ Want to go through the code? [GitPod](https://gitpod.io/#https://github.com/linu
35
35
36
36
## Download
37
37
``` 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
39
39
```
40
40
41
41
Or use a simple way instead of typing the whole URL:
42
42
43
43
``` shell
44
- hd get jcli
44
+ hd get mde
45
45
```
46
46
47
47
Or you might want to download a pre-released binary package from GitHub:
@@ -54,7 +54,8 @@ hd get --pre ks
54
54
You can also install a package from GitHub:
55
55
56
56
``` shell
57
- hd install jcli -t 6
57
+ #! title: Install mde with specific threads
58
+ hd install mde -t 6
58
59
```
59
60
60
61
or install by a category name:
You can’t perform that action at this time.
0 commit comments