fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
19 lines
497 B
Diff
19 lines
497 B
Diff
diff --git a/src/scmversion/gen_scmversion.sh b/src/scmversion/gen_scmversion.sh
|
|
index 9122cd8..50ed8f9 100755
|
|
--- 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')
|
|
-TAG=$(git describe --dirty | tr -d '\r\n')
|
|
-DATE=$(git log -1 --date=iso8601-strict --format=%cd)
|
|
+HASH="@gitHash@"
|
|
+BRANCH="@gitBranch@"
|
|
+TAG="@gitTag@"
|
|
+DATE="@gitDate@"
|
|
|
|
cd $CURDIR
|
|
|