From 335cd0e5b24f4bc99c6b06a8e6dfc1e3b74a9bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E5=8F=AF?= Date: Mon, 16 May 2022 18:09:13 +0800 Subject: [PATCH] feat: add SetAppVersion api --- pkg/pkg.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/pkg.go b/pkg/pkg.go index e972974515..2428a75183 100644 --- a/pkg/pkg.go +++ b/pkg/pkg.go @@ -97,10 +97,10 @@ func AppVersion() string { return buildAppVersion } -//appVersion not defined -// func SetAppVersion(s string) { -// appVersion = s -// } +// SetAppVersion set appVersion +func SetAppVersion(s string) { + buildAppVersion = s +} //JupiterVersion get jupiterVersion func JupiterVersion() string {