-v does not return version information
study-day opened this issue · 2 comments
study-day commented
-v does not return version information
log
[nebula@hadoop-node-2 ~]$ ./nebula-console-linux-amd64-v2.0.0-ga -v
nebula-console version Git: , Build Time:
[nebula@hadoop-node-2 ~]$
wey-gu commented
@jievince it seems gitCommit = $(shell git log --pretty=format:'%h' -1)
got empty output here or there is newline character to be handled?
/ # nebula-console -v
nebula-console version Git: , Build Time:
jievince commented
@jievince it seems
gitCommit = $(shell git log --pretty=format:'%h' -1)
got empty output here or there is newline character to be handled?/ # nebula-console -v nebula-console version Git: , Build Time:
It's because I forget to add version and build info when packaging in package.yml and release.yml: