diff --git a/internal/apps/app_cmd.go b/internal/apps/app_cmd.go index d35030a6..96764002 100644 --- a/internal/apps/app_cmd.go +++ b/internal/apps/app_cmd.go @@ -168,7 +168,7 @@ func (this *AppCmd) Run(main func()) { // 版本号 func (this *AppCmd) runVersion() { - fmt.Println(this.product+" v"+this.version, "(build: "+runtime.Version(), runtime.GOOS, runtime.GOARCH+")") + fmt.Println(this.product+" v"+this.version, "(build: "+runtime.Version(), runtime.GOOS, runtime.GOARCH, teaconst.Tag+")") } // 帮助 diff --git a/internal/const/build.go b/internal/const/build.go index eb65a29f..71c71807 100644 --- a/internal/const/build.go +++ b/internal/const/build.go @@ -5,3 +5,4 @@ package teaconst const BuildCommunity = true const BuildPlus = false +const Tag = "community" diff --git a/web/views/@default/clusters/cluster/node/install.html b/web/views/@default/clusters/cluster/node/install.html index 52a11617..9e960410 100644 --- a/web/views/@default/clusters/cluster/node/install.html +++ b/web/views/@default/clusters/cluster/node/install.html @@ -74,6 +74,6 @@ secret: "{{node.secret}}"