2023-10-09 19:29:22 +00:00
|
|
|
diff --git a/src/scmversion/gen_scmversion.sh b/src/scmversion/gen_scmversion.sh
|
2024-02-29 20:09:43 +00:00
|
|
|
index 9122cd8..50ed8f9 100755
|
2023-10-09 19:29:22 +00:00
|
|
|
--- a/src/scmversion/gen_scmversion.sh
|
|
|
|
+++ b/src/scmversion/gen_scmversion.sh
|
|
|
|
@@ -10,10 +10,10 @@ else
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
-HASH=$(git rev-parse HEAD)
|
|
|
|
-BRANCH=$(git rev-parse --abbrev-ref HEAD | tr -d '\r\n')
|
2024-02-29 20:09:43 +00:00
|
|
|
-TAG=$(git describe --dirty | tr -d '\r\n')
|
2023-10-09 19:29:22 +00:00
|
|
|
-DATE=$(git log -1 --date=iso8601-strict --format=%cd)
|
|
|
|
+HASH="@gitHash@"
|
|
|
|
+BRANCH="@gitBranch@"
|
|
|
|
+TAG="@gitTag@"
|
|
|
|
+DATE="@gitDate@"
|
|
|
|
|
|
|
|
cd $CURDIR
|
|
|
|
|