chore: v0.1.4 — 版本号收拢(6 处)

internal/version/version.go(ldflags 示例 + 默认值)、scripts/release.sh(注释 + 默认值)、
scripts/build_installers.sh、packaging/rpm/webui4frpc.spec(Version + changelog,含本次
负载均衡四条)、README.md 与 packaging/windows/README.md 的安装示例。

漏一处就会让某个安装包的示例文件名指向不存在的产物,所以按 v0.1.3 的 5 处清单逐个核对,
并补上 084ef62 才纳入的 packaging/windows/README.md,共 6 个文件。
This commit is contained in:
JianFeeeee
2026-10-06 16:38:00 +08:00
parent 1a850b4846
commit 21eb52df24
6 changed files with 23 additions and 18 deletions

View File

@ -3,7 +3,7 @@
# webui4frpc 多平台发布脚本
#
# 用法:
# ./scripts/release.sh [version] # 默认 version=0.1.3
# ./scripts/release.sh [version] # 默认 version=0.1.4
#
# 行为:
# 1. 构建前端 (web/dist) 并同步到 internal/httpapi/dist (go:embed 用)
@ -19,7 +19,7 @@
# NO_BUILD_FRONTEND 设为 1 跳过前端构建 (用现有 dist)
set -euo pipefail
VERSION="${1:-0.1.3}"
VERSION="${1:-0.1.4}"
VERSION="${VERSION#v}" # 去掉可能的前导 v
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
OUT="$ROOT/dist/artifacts/$VERSION"