mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-15 07:01:18 +02:00
Use git describe in About Dialog
- Replaced Commit Id by Version from GIT_DESCRIBE output - Injected GIT_DESCRIBE macro at Version.cmake - Removed timestamping from version description and cleaned its code Resolve: #460 Signed-off-by: Humberto Rocha <humrochagf@gmail.com>
This commit is contained in:
committed by
Panagiotis Vasilopoulos
parent
20ee9a6c57
commit
e0f34e7154
@@ -4,7 +4,7 @@
|
||||
|
||||
execute_process(
|
||||
COMMAND
|
||||
${GIT} show -s "--format=#define REV_LONG \"%H\"%n#define REV_TIME \"%cd\"%n" --no-notes --no-show-signature
|
||||
${GIT} show -s "--format=#define REV_LONG \"%H\"%n#define GIT_DESCRIBE \"${GIT_DESCRIBE}\"%n" --no-notes --no-show-signature
|
||||
OUTPUT_FILE
|
||||
${_PRVDIR}/RevisionIdent.h.in
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
|
Reference in New Issue
Block a user