From 5d371085bffe1d46da0e5c383a523101b989e141 Mon Sep 17 00:00:00 2001 From: voidint Date: Sun, 7 Jul 2024 17:52:21 +0800 Subject: [PATCH] misc: upgrade version number --- build/build.go | 2 +- install.ps1 | 2 +- install.sh | 2 +- package.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/build.go b/build/build.go index 2785302..2e50502 100644 --- a/build/build.go +++ b/build/build.go @@ -9,7 +9,7 @@ import ( const ( // ShortVersion 短版本号 - ShortVersion = "1.6.0" + ShortVersion = "1.7.0" ) // The value of variables come form `gb build -ldflags '-X "build.Built=xxxxx" -X "build.CommitID=xxxx"' ` diff --git a/install.ps1 b/install.ps1 index bb2be3e..4e2927e 100644 --- a/install.ps1 +++ b/install.ps1 @@ -1,5 +1,5 @@ param ( - [string] $release = "1.6.0", + [string] $release = "1.7.0", [string] $base_dir ) diff --git a/install.sh b/install.sh index 7409f84..b2f9cdf 100755 --- a/install.sh +++ b/install.sh @@ -30,7 +30,7 @@ function get_os() { } function main() { - local release="1.6.0" + local release="1.7.0" local os=$(get_os) local arch=$(get_arch) local dest_file="${HOME}/.g/downloads/g${release}.${os}-${arch}.tar.gz" diff --git a/package.sh b/package.sh index 21248ad..03503a7 100755 --- a/package.sh +++ b/package.sh @@ -54,7 +54,7 @@ main() { export GO111MODULE="on" export GOPROXY="https://goproxy.cn,direct" - local release="1.6.0" + local release="1.7.0" for item in "darwin_amd64" "darwin_arm64" "linux_386" "linux_amd64" "linux_arm" "linux_arm64" "linux_s390x" "windows_386" "windows_amd64" "windows_arm" "windows_arm64"; do package ${release} ${item}