mirror of
https://gitcode.com/JianFeeeee/webui4frpc.git
synced 2026-10-30 22:07:21 +00:00
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.4 的 6 处清单逐个核对,无遗漏。rpm changelog 新增 0.2.0-1 条目,汇总本次 「配置文件启动 + 口令脱敏」与「frpc user / transport 渲染修复」两组改动。
13 lines
503 B
Go
13 lines
503 B
Go
// Package version holds the single source of truth for the build version.
|
|
//
|
|
// Value is overridable at build time so release artifacts carry the real tag:
|
|
//
|
|
// go build -ldflags="-X webui4frpc/internal/version.Version=0.2.0" ./cmd/webui4frpc
|
|
//
|
|
// Kept in its own package because both cmd/ and internal/httpapi report it
|
|
// (main can't be imported, and httpapi must not depend on cmd).
|
|
package version
|
|
|
|
// Version is the running build's semantic version, without a leading "v".
|
|
var Version = "0.2.0"
|