Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-v does not return version information #107

Closed
study-day opened this issue May 24, 2021 · 2 comments · Fixed by #109
Closed

-v does not return version information #107

study-day opened this issue May 24, 2021 · 2 comments · Fixed by #109

Comments

@study-day
Copy link

study-day commented May 24, 2021

-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
Copy link
Contributor

wey-gu commented May 24, 2021

@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
Copy link
Contributor

@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:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants