新添cli一键升级程序功能

This commit is contained in:
MengMengCode
2026-06-06 10:41:16 +08:00
parent 8b402fcfa1
commit 6dcd5bd06c
3 changed files with 374 additions and 107 deletions
+13
View File
@@ -0,0 +1,13 @@
package version
var (
Version = "dev"
Repo = "MengMengCode/CLICD"
)
func Current() string {
if Version == "" {
return "dev"
}
return Version
}