Skip to content

Commit 0fa9b47

Browse files
committed
build: Drop '--tags'
This is not needed when using annotated tags.
1 parent 6b46558 commit 0fa9b47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libuuu/gen_ver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ];
1515
then
1616
#echo "In a repo"
1717
# Get the version of the last commit of the repo
18-
version=`git describe --tags --long`
18+
version=`git describe --long`
1919
echo "#define GIT_VERSION \"lib$version\"" > $file_to_write
2020
fi

msvc/createversion.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ IF ERRORLEVEL 1 (
1010
git tag uuu_%APPVEYOR_BUILD_VERSION%
1111
)
1212

13-
FOR /F "tokens=*" %%a in ('call git describe --tags --long') do (
13+
FOR /F "tokens=*" %%a in ('call git describe --long') do (
1414
echo #define GIT_VERSION "lib%%a" > %1/gitversion.h
1515
)
1616
)

0 commit comments

Comments
 (0)