mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 14:56:38 +08:00
feat: 更新版本管理逻辑,支持通过标签版本注入,修改版本常量为可变变量
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user