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

--version option or alternative #578

Open
hayden-t opened this issue Dec 13, 2021 · 3 comments
Open

--version option or alternative #578

hayden-t opened this issue Dec 13, 2021 · 3 comments

Comments

@hayden-t
Copy link
Contributor

It would be create be able to tell what version or git commit your code/binary came from...?

@robotastic
Copy link
Owner

This is a good idea - I feel like there is a way to bake the latest git commit hash into the CMake as an environment variable. I will have to look this up. I am pretty bad about remembering to rev the version number, so the git commit is prob better. I will try to look into it.

@dreinhold
Copy link
Contributor

@robotastic I had added this into dsd a long time ago szechyjs/dsd@e40e89a
Might have some clues you can use...

@hayden-t
Copy link
Contributor Author

excellent ( )

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

No branches or pull requests

3 participants