mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-02-17 07:12:45 +08:00
Merge pull request #474 from trapexit/version
fix versioning with tarball building
This commit is contained in:
commit
0545da67ff
|
@ -6,6 +6,9 @@ if [ "${GIT}" = "" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VERSION=$(git describe --always --tags --dirty)
|
VERSION=$(git describe --always --tags --dirty)
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
echo -n "${VERSION}" > VERSION
|
echo -n "${VERSION}" > VERSION
|
||||||
grep -q \"${VERSION}\" src/version.hpp
|
grep -q \"${VERSION}\" src/version.hpp
|
||||||
|
|
Loading…
Reference in New Issue
Block a user