Skip to content

Commit

Permalink
Update v0.0.76
Browse files Browse the repository at this point in the history
  • Loading branch information
george012 committed Aug 23, 2023
1 parent 32e4ddf commit 197913a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package config

const (
ProjectName = "gtbox"
ProjectVersion = "v0.0.75"
ProjectVersion = "v0.0.76"
ProjectDescription = "[Golang]日常开发工具箱"
)
4 changes: 2 additions & 2 deletions install_gtbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ GetOSType(){
GetOSType

removeCache() {
rm -rf ./${ProductName}_version.go
rm -rf ./${ProductName}_config.go
rm -rf ./install_${ProductName}.sh
}

Expand All @@ -41,7 +41,7 @@ install() {

go get -u github.com/george012/${ProductName}@latest

wget --no-check-certificate https://raw.githubusercontent.com/george012/${ProductName}/master/config.go -O ${ProductName}_config.go \
wget --no-check-certificate https://raw.githubusercontent.com/george012/${ProductName}/master/config/config.go -O ${ProductName}_config.go \
&& {

aVersionNo=$(grep ProjectVersion ${ProductName}_config.go | awk -F '"' '{print $2}' | sed 's/\"//g') \
Expand Down

0 comments on commit 197913a

Please sign in to comment.