From 46b947e70b9db38758a083dc7dfd148c9b6eb818 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Sun, 31 Jan 2021 23:27:03 +0300 Subject: [PATCH] about: use commit as fallback if no tags in git describe Signed-off-by: R4SAS --- i2pd_qt.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i2pd_qt.pro b/i2pd_qt.pro index 33a8fdc..87f1aba 100644 --- a/i2pd_qt.pro +++ b/i2pd_qt.pro @@ -115,7 +115,7 @@ PRE_TARGETDEPS += $$PWD/src/BuildDateTimeQt.h QMAKE_EXTRA_TARGETS += BuildDateTimeQtTarget # git only, port to other VCS, too. TBD -DEFINES += VCS_COMMIT_INFO="\\\"git:$(shell git -C \""$$_PRO_FILE_PWD_"\" describe)\\\"" +DEFINES += VCS_COMMIT_INFO="\\\"git:$(shell git -C \""$$_PRO_FILE_PWD_"\" describe --always)\\\"" macx { message("using mac os x target")