Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
linuxlibs
Golang_multi_version_manager_g
提交
c77c97e7
G
Golang_multi_version_manager_g
项目概览
linuxlibs
/
Golang_multi_version_manager_g
8 个月 前同步成功
通知
17
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Golang_multi_version_manager_g
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
c77c97e7
编写于
8月 09, 2023
作者:
V
voidint
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
misc: upgrade version number
上级
9169b031
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
4 addition
and
4 deletion
+4
-4
install.ps1
install.ps1
+1
-1
install.sh
install.sh
+1
-1
internal/build/build.go
internal/build/build.go
+1
-1
package.sh
package.sh
+1
-1
未找到文件。
install.ps1
浏览文件 @
c77c97e7
$release
=
"1.5.
0
"
$release
=
"1.5.
1
"
$os
=
"windows"
$arch
=
"amd64"
$default_base_dir
=
"
$HOME
\.g"
...
...
install.sh
浏览文件 @
c77c97e7
...
...
@@ -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"
...
...
internal/build/build.go
浏览文件 @
c77c97e7
...
...
@@ -9,7 +9,7 @@ import (
const
(
// ShortVersion 短版本号
ShortVersion
=
"1.5.
0
"
ShortVersion
=
"1.5.
1
"
)
// The value of variables come form `gb build -ldflags '-X "build.Built=xxxxx" -X "build.CommitID=xxxx"' `
...
...
package.sh
浏览文件 @
c77c97e7
...
...
@@ -54,7 +54,7 @@ main() {
export
GO111MODULE
=
"on"
export
GOPROXY
=
"https://goproxy.cn,direct"
local
release
=
"1.5.
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
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录