We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would it be possible to add SHA of the current git objekct in --version, if sourcecode has been pulled from GIT?
Right now, I'm using a small shell-script, which modifies CMakeList.txt like this:
set(OSMIUM_COMMIT_GIT 6ba6903f56aa2dd99d8911bfa3cbc69bea3c8e70) set(OSMIUM_VERSION "${OSMIUM_VERSION_MAJOR}.${OSMIUM_VERSION_MINOR}.${OSMIUM_VERSION_PATCH} commit: ${OSMIUM_COMMIT_GIT}")
Maybe it would be better to run execute_process(COMMAND ... with some error detection, f.e. if GIT has been installed at all ;)
execute_process(COMMAND ...
The text was updated successfully, but these errors were encountered:
0cabe1b
No branches or pull requests
Would it be possible to add SHA of the current git objekct in --version, if sourcecode has been pulled from GIT?
Right now, I'm using a small shell-script, which modifies CMakeList.txt like this:
Maybe it would be better to run
execute_process(COMMAND ...
with some error detection, f.e. if GIT has been installed at all ;)The text was updated successfully, but these errors were encountered: