feat: 更新版本管理逻辑,支持通过标签版本注入,修改版本常量为可变变量

This commit is contained in:
ryan
2026-03-10 23:06:36 +08:00
parent 6fe9ad4af6
commit e5c01f12be
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import (
)
var StartTime = time.Now().Unix() // unit: second
var Version = "v0.2.0" // this hard coding will be replaced automatically when building, no need to manually change
var Version = "dev" // release builds inject the tag version via ldflags
var SystemName = "ATSFlare"
var ServerAddress = "http://localhost:3000"
var Footer = ""