From 4e8fb03705070f9a34666337e88d73b74df7980f Mon Sep 17 00:00:00 2001 From: yml2213 Date: Sat, 17 Oct 2026 19:00:28 +0800 Subject: [PATCH] =?UTF-8?q?chore(release):=20=E5=8D=87=E7=BA=A7=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E8=87=B3=200.5.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 同步更新 internal/version/version.go 中的单一版本号来源 Version 为 0.5.1 - 同步更新 wails.json productVersion 为 0.5.1 - 同步更新 frontend/package.json version 为 0.5.1 --- frontend/package.json | 2 +- internal/version/version.go | 6 +++--- wails.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 68ba968..7c73e84 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "huya-go-frontend", "private": true, - "version": "0.1.0", + "version": "0.5.1", "type": "module", "scripts": { "dev": "vite --host 127.0.0.1", diff --git a/internal/version/version.go b/internal/version/version.go index 93f70b5..37b86e4 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -5,10 +5,10 @@ package version // // 构建时可用 ldflags 覆盖(构建脚本就是这么做的): // -// go build -ldflags "-X huya-go/internal/version.Version=0.5.0" -var Version = "0.5.0" +// go build -ldflags "-X huya-go/internal/version.Version=0.5.1" +var Version = "0.5.1" -// Display 返回带 v 前缀的展示版本号,例如 v0.5.0。 +// Display 返回带 v 前缀的展示版本号,例如 v0.5.1。 func Display() string { return "v" + Version } diff --git a/wails.json b/wails.json index 616a52a..535d8c7 100644 --- a/wails.json +++ b/wails.json @@ -9,7 +9,7 @@ "info": { "companyName": "huya-go", "productName": "虎牙抢购助手", - "productVersion": "0.5.0", + "productVersion": "0.5.1", "copyright": "", "comments": "虎牙活动积分兑换/抢购工具" }