From b2753cfc61ef797733a8e540b19b8aff3a2ff0f8 Mon Sep 17 00:00:00 2001 From: voidint Date: Wed, 9 Aug 2023 10:30:47 +0800 Subject: [PATCH] misc: upgrade version number --- install.ps1 | 2 +- install.sh | 2 +- internal/build/build.go | 2 +- package.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install.ps1 b/install.ps1 index 97153bc..ec4ad68 100644 --- a/install.ps1 +++ b/install.ps1 @@ -1,4 +1,4 @@ -$release="1.5.0" +$release="1.5.1" $os="windows" $arch="amd64" $base_dir="$HOME/.g" diff --git a/install.sh b/install.sh index 3efff68..0eeb259 100755 --- a/install.sh +++ b/install.sh @@ -30,7 +30,7 @@ function get_os() { } main() { - local release="1.5.0" + local release="1.5.1" local os=$(get_os) local arch=$(get_arch) local dest_file="${HOME}/.g/downloads/g${release}.${os}-${arch}.tar.gz" diff --git a/internal/build/build.go b/internal/build/build.go index 6c39c15..1c44e8b 100644 --- a/internal/build/build.go +++ b/internal/build/build.go @@ -4,7 +4,7 @@ import "strings" const ( // ShortVersion 短版本号 - ShortVersion = "1.5.0" + ShortVersion = "1.5.1" ) // The value of variables come form `gb build -ldflags '-X "build.Build=xxxxx" -X "build.CommitID=xxxx"' ` diff --git a/package.sh b/package.sh index f164578..c476015 100755 --- a/package.sh +++ b/package.sh @@ -54,7 +54,7 @@ main() { export GO111MODULE="on" export GOPROXY="https://goproxy.cn,direct" - local release="1.4.0" + local release="1.5.1" 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}