chore(release): bump version to 1.5.1

This commit is contained in:
ASLant committed 2026-10-07 12:07:01 +08:00
1 parent 721cdb25d5
commit de92ecf8cd
7 files changed
+10 -8

No files matched your search

+2 -2
View File
@@ -182,9 +182,9 @@ batchSize = Math.max(2, Math.min(cpuCores * 2, 16))
## 版本发布
1. 同步修改 `src-tauri/Cargo.toml`、`package.json` 和 `src-tauri/tauri.conf.json` 中的版本号;当前版本均为 `1.5.0`,更新检查使用 `env!("CARGO_PKG_VERSION")`
1. 同步修改 `src-tauri/Cargo.toml`、`package.json` 和 `src-tauri/tauri.conf.json` 中的版本号;更新检查使用 `env!("CARGO_PKG_VERSION")`
2. 同步更新两个锁文件,在本地检查前后端;CI 会自动构建 CSS,不依赖提交消息关键字
3. 推送 tag:`git tag v1.x.x && git push origin v1.x.x`;tag 必须与三个版本字段精确一致
3. 先提交版本及锁文件改动,再创建并推送 tag:`git tag v1.x.x && git push origin v1.x.x`;tag 指向的提交必须包含与 tag 一致的三个版本字段。重跑旧任务不会改变 tag 目标,重建已推送但未发布的失败 tag 前需确认影响,不覆盖已发布 tag
4. `ci.yml` 的 Windows 构建 job 使用 Node.js 22、Rust stable 和固定的 Tauri CLI 2.12.1,依次执行版本校验、前后端检查、CSS 构建和打包;三种产物缺失或为空时失败
5. 发布 job 通过 `needs: build` 等待成功后下载 artifact,仅在 tag push 时运行;版本含 `-` 时标记 prerelease。资产名称:
- `UPX-Tools-{version}-x64.msi` - MSI 安装包
+2
View File
@@ -252,6 +252,8 @@ Release profile 使用 `strip`、`opt-level = "z"`、LTO、单个 codegen unit
发布前同步修改 **三个**版本字段:`package.json`、`src-tauri/Cargo.toml`、`src-tauri/tauri.conf.json`,并同步更新两个锁文件。更新检查的当前版本来自 Cargo 包版本。
先提交包含版本和锁文件更新的改动,再在该提交上创建 tag。工作流读取的是 tag 指向的提交,而不是本地当前文件;重跑失败任务不会自动改用新提交。版本不匹配的旧 tag 若尚未发布 Release,可在确认影响后重建;不要覆盖已经发布的 tag。
GitHub Actions 已统一到 `.github/workflows/ci.yml`:
- `main`/`master` 分支推送及面向这两个分支的 PR:检查并构建 Windows x64 包,不再依赖提交消息中的特殊关键字。
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "UPX-Tools",
"version": "1.5.0",
"version": "1.5.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "UPX-Tools",
"version": "1.5.0",
"version": "1.5.1",
"devDependencies": {
"@eslint/js": "^9.39.2",
"autoprefixer": "^10.4.23",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "UPX-Tools",
"version": "1.5.0",
"version": "1.5.1",
"type": "module",
"description": "UPX 可视化加壳/脱壳工具",
"scripts": {
+1 -1
View File
@@ -4,7 +4,7 @@ version = 4
[[package]]
name = "UPX-Tools"
version = "1.5.0"
version = "1.5.1"
dependencies = [
"encoding_rs",
"reqwest",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "UPX-Tools"
version = "1.5.0"
version = "1.5.1"
description = "UPX 可视化加壳脱壳工具"
authors = ["ASLant"]
edition = "2021"
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "UPX-Tools",
"version": "1.5.0",
"version": "1.5.1",
"identifier": "top.aslant.upxgui",
"build": {
"beforeDevCommand": "",