Skip to content

Commit

Permalink
2023-10-30 22:02:09 v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
shenguanjiejie committed Oct 30, 2023
1 parent 0858447 commit bcf978b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"showLog": true,
// "args": ["base64","-d","-i","~/Desktop/base64.txt"]
// "args": ["time","20220802"]
"args": ["uuid","-c","5","-v","4"]
// "args": ["uuid","-c","5","-v","4"]
"args": ["readme"]
}
]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ brew install shenguanjiejie/tap/workwork
```
or
```shell
wget https://github.com/shenguanjiejie/workwork/releases/download/v0.0.4/workwork_0.0.4_darwin.tar.gz && tar -zxvf ./workwork_0.0.4_darwin.tar.gz && mv ./ww /usr/local/bin && rm ./workwork_0.0.4_darwin.tar.gz && rm ./ww
wget https://github.com/shenguanjiejie/workwork/releases/download/v1.0.1/workwork_1.0.1_darwin.tar.gz && tar -zxvf ./workwork_1.0.1_darwin.tar.gz && mv ./ww /usr/local/bin && rm ./workwork_1.0.1_darwin.tar.gz && rm ./ww
```
or<br><br>[Download](https://github.com/shenguanjiejie/workwork/releases), Unpack, and move "ww" to /usr/local/bin.<br>到[release页面](https://github.com/shenguanjiejie/workwork/releases)下载后, 解压出ww文件, 放在/usr/local/bin目录下即可
### Linux
```shell
wget https://github.com/shenguanjiejie/workwork/releases/download/v0.0.4/workwork_0.0.4_linux_x86_64.tar.gz && tar -zxvf ./workwork_0.0.4_linux_x86_64.tar.gz && mv ./ww /usr/local/bin && rm ./workwork_0.0.4_linux_x86_64.tar.gz && rm ./ww
wget https://github.com/shenguanjiejie/workwork/releases/download/v1.0.1/workwork_1.0.1_linux_x86_64.tar.gz && tar -zxvf ./workwork_1.0.1_linux_x86_64.tar.gz && mv ./ww /usr/local/bin && rm ./workwork_1.0.1_linux_x86_64.tar.gz && rm ./ww
```
or<br><br>[Download](https://github.com/shenguanjiejie/workwork/releases), Unpack, and move "ww" to /usr/local/bin.<br>到[release页面](https://github.com/shenguanjiejie/workwork/releases)下载后, 解压出ww文件, 放在/usr/local/bin目录下即可
# base64
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

version="0.0.4"
version="1.0.1"

GOOS=linux GOARCH=amd64 go build -o ww
tar -zcvf workwork_${version}_linux_x86_64.tar.gz ww
Expand Down
4 changes: 2 additions & 2 deletions cmd/readme.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package cmd

/*
Copyright © 2022 shenguanjiejie <[email protected]>
Expand All @@ -15,7 +16,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/


import (
"fmt"
"os"
Expand All @@ -32,7 +32,7 @@ var readmeCmd = &cobra.Command{
Long: `readme`,
Run: func(cmd *cobra.Command, args []string) {
worksAnchor, works := works()
version := "0.0.4"
version := "1.0.1"
download := "or<br><br>[Download](https://github.com/shenguanjiejie/workwork/releases), Unpack, and move \"ww\" to /usr/local/bin.<br>到[release页面](https://github.com/shenguanjiejie/workwork/releases)下载后, 解压出ww文件, 放在/usr/local/bin目录下即可\n"
macInstall := fmt.Sprintf("# Install\n### Mac\n```shell\nbrew install shenguanjiejie/tap/workwork\n```\nor\n```shell\nwget https://github.com/shenguanjiejie/workwork/releases/download/v%s/workwork_%s_darwin.tar.gz && tar -zxvf ./workwork_%s_darwin.tar.gz && mv ./ww /usr/local/bin && rm ./workwork_%s_darwin.tar.gz && rm ./ww\n```\n%s", version, version, version, version, download)
linuxInstall := fmt.Sprintf("### Linux\n```shell\nwget https://github.com/shenguanjiejie/workwork/releases/download/v%s/workwork_%s_linux_x86_64.tar.gz && tar -zxvf ./workwork_%s_linux_x86_64.tar.gz && mv ./ww /usr/local/bin && rm ./workwork_%s_linux_x86_64.tar.gz && rm ./ww\n```\n%s", version, version, version, version, download)
Expand Down

0 comments on commit bcf978b

Please sign in to comment.