Skip to content

Commit fd9b548

Browse files
committed
drop --tags at create version info
Signed-off-by: Frank Li <frank.li@nxp.com>
1 parent b7048e7 commit fd9b548

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

libuuu/gen_ver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ];
2323
then
2424
#echo "In a repo"
2525
# Get the version of the last commit of the repo
26-
version=`git describe --tags --long`
26+
version=`git describe --long`
2727
echo "#define GIT_VERSION \"lib$version\"" > $file_to_write
2828
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 -m "uuu %APPVEYOR_BUILD_VERSION%" 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)