We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7048e7 commit fd9b548Copy full SHA for fd9b548
2 files changed
libuuu/gen_ver.sh
@@ -23,6 +23,6 @@ if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ];
23
then
24
#echo "In a repo"
25
# Get the version of the last commit of the repo
26
- version=`git describe --tags --long`
+ version=`git describe --long`
27
echo "#define GIT_VERSION \"lib$version\"" > $file_to_write
28
fi
msvc/createversion.bat
@@ -10,7 +10,7 @@ IF ERRORLEVEL 1 (
10
git tag -m "uuu %APPVEYOR_BUILD_VERSION%" uuu_%APPVEYOR_BUILD_VERSION%
11
)
12
13
- FOR /F "tokens=*" %%a in ('call git describe --tags --long') do (
+ FOR /F "tokens=*" %%a in ('call git describe --long') do (
14
echo #define GIT_VERSION "lib%%a" > %1/gitversion.h
15
16
0 commit comments