chore(release): 升级版本号至 0.5.1

- 同步更新 internal/version/version.go 中的单一版本号来源 Version 为 0.5.1
- 同步更新 wails.json productVersion 为 0.5.1
- 同步更新 frontend/package.json version 为 0.5.1
This commit is contained in:
yml2213
2026-10-17 19:00:28 +08:00
parent 23f964e768
commit 4e8fb03705
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "huya-go-frontend", "name": "huya-go-frontend",
"private": true, "private": true,
"version": "0.1.0", "version": "0.5.1",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite --host 127.0.0.1", "dev": "vite --host 127.0.0.1",
+3 -3
View File
@@ -5,10 +5,10 @@ package version
// //
// 构建时可用 ldflags 覆盖(构建脚本就是这么做的): // 构建时可用 ldflags 覆盖(构建脚本就是这么做的):
// //
// go build -ldflags "-X huya-go/internal/version.Version=0.5.0" // go build -ldflags "-X huya-go/internal/version.Version=0.5.1"
var Version = "0.5.0" var Version = "0.5.1"
// Display 返回带 v 前缀的展示版本号,例如 v0.5.0。 // Display 返回带 v 前缀的展示版本号,例如 v0.5.1。
func Display() string { func Display() string {
return "v" + Version return "v" + Version
} }
+1 -1
View File
@@ -9,7 +9,7 @@
"info": { "info": {
"companyName": "huya-go", "companyName": "huya-go",
"productName": "虎牙抢购助手", "productName": "虎牙抢购助手",
"productVersion": "0.5.0", "productVersion": "0.5.1",
"copyright": "", "copyright": "",
"comments": "虎牙活动积分兑换/抢购工具" "comments": "虎牙活动积分兑换/抢购工具"
} }