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

build: use commit id for version when unspecified #52

Merged

Conversation

NikolaDucak
Copy link
Owner

This makes the output of caps-log --help shows the commit id from which
the caps-log was built, if the CAPS_LOG_VERSION is not specified.
Since manual building of the executable is encouraged, this will help in case of potential bug reports
to identify the "version" of the app.

Also, cmake is formated with cmake-format

...
Capstains Log (caps-log)! A CLI journalig tool.
Version: development 
...
...
Capstains Log (caps-log)! A CLI journalig tool.
Version: commit-5f326bf3e9722da02808245a6661151a69e5b290
...

@NikolaDucak NikolaDucak merged commit 8a1e1e0 into master May 25, 2024
4 checks passed
@NikolaDucak NikolaDucak deleted the build/use-commit-id-for-version-when-unspecified branch May 26, 2024 11:52
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 this pull request may close these issues.

None yet

1 participant