mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-04 09:44:16 +00:00
[all] added pre-commit script and VERSION
This script belongs in .git/hooks/ to bump the version each commit.
This commit is contained in:
@@ -37,7 +37,7 @@ pkg_check_modules(PKGCONFIG REQUIRED
|
||||
)
|
||||
|
||||
execute_process(
|
||||
COMMAND git describe --always --long --dirty --abbrev=10 --tags
|
||||
COMMAND cat ../VERSION
|
||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||
OUTPUT_VARIABLE BUILD_VERSION
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
|
Reference in New Issue
Block a user