feat: 添加版本管理发布脚本,修复文档版本号
- 新增 release.bat 一键发布脚本 - 交互式版本号选择(保持/补丁+1/次版本+1/主版本+1/自定义) - 自动更新 csproj 和 setup.iss 中的版本号 - 自动编译、复制文件、生成安装包 - 更新 BUILD_INSTALLER.md 添加发布脚本使用说明 - 修复 轻量级订单发货客户端方案.md 中的 .NET 版本号(4.8 -> 4.6.2) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,36 @@
|
||||
- Windows 10(自带 .NET Framework 4.6.2+)
|
||||
- Windows 11(自带 .NET Framework 4.6.2+)
|
||||
|
||||
## 方式一:使用 Inno Setup 创建安装程序(推荐)
|
||||
## 方式一:使用发布脚本(推荐)
|
||||
|
||||
### 一键发布(含版本管理)
|
||||
|
||||
双击运行 `release.bat`,按提示操作:
|
||||
|
||||
```
|
||||
========================================
|
||||
PackagingMallShipper - Release Tool
|
||||
========================================
|
||||
|
||||
[Info] Current version: 1.0.0
|
||||
|
||||
Options:
|
||||
1. Keep current version [1.0.0]
|
||||
2. Increment patch version (x.x.X) -> 1.0.1
|
||||
3. Increment minor version (x.X.0) -> 1.1.0
|
||||
4. Increment major version (X.0.0) -> 2.0.0
|
||||
5. Enter custom version
|
||||
|
||||
Select option [1-5]:
|
||||
```
|
||||
|
||||
### 命令行指定版本
|
||||
|
||||
```cmd
|
||||
release.bat 1.2.0
|
||||
```
|
||||
|
||||
## 方式二:使用 Inno Setup 手动编译
|
||||
|
||||
### 步骤 1:安装 Inno Setup
|
||||
|
||||
@@ -33,7 +62,7 @@
|
||||
installer\PackagingMallShipper_Setup_v1.0.0.exe
|
||||
```
|
||||
|
||||
## 方式二:手动分发(无需安装程序)
|
||||
## 方式三:手动分发(无需安装程序)
|
||||
|
||||
将 `publish` 文件夹的内容复制给用户:
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user