Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions create_version_h.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ if [ "${APPVEYOR_BUILD_VERSION}" = "" ];
then
echo build not in appveyor
else
git tag ${APPVEYOR_BUILD_VERSION}
(cd "${1}"; git tag ${APPVEYOR_BUILD_VERSION})
fi

version=`git describe --tags --long`
version=$(cd "${1}"; git describe --tags --long)
echo "#define GIT_VERSION \"$version\"" > ${1}/version.h