update to support new makefile

This commit is contained in:
medcl 2022-03-23 18:43:20 +08:00
parent c2cf126ff3
commit f76cbd9f84
2 changed files with 3 additions and 1 deletions

View File

@ -6,3 +6,5 @@ const BuildDate = "N/A"
const EOLDate = "N/A" const EOLDate = "N/A"
const Version = "0.0.1-SNAPSHOT" const Version = "0.0.1-SNAPSHOT"
const BuildNumber = "001"

View File

@ -49,7 +49,7 @@ func main() {
terminalFooter := "" terminalFooter := ""
app := framework.NewApp("console", "INFINI Cloud Console, The easiest way to operate your own elasticsearch platform.", app := framework.NewApp("console", "INFINI Cloud Console, The easiest way to operate your own elasticsearch platform.",
config.Version, config.LastCommitLog, config.BuildDate, config.EOLDate, terminalHeader, terminalFooter) config.Version,config.BuildNumber, config.LastCommitLog, config.BuildDate, config.EOLDate, terminalHeader, terminalFooter)
app.Init(nil) app.Init(nil)
defer app.Shutdown() defer app.Shutdown()