aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/version
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/version')
-rw-r--r--scripts/version6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/version b/scripts/version
index dcf93d83..2f4c1d4a 100644
--- a/scripts/version
+++ b/scripts/version
@@ -7,7 +7,7 @@ cd "$path"
git rev-parse 2> /dev/null
if [ $? == 0 ]; then
- vstring=$(git describe --dirty --match "$version_prefix*" | sed "s/$version_prefix//")
+ vstring=$(git describe --match "$version_prefix*" | sed "s/$version_prefix//")
elif [ -f .version ]; then
vstring=$(cat .version)
else
@@ -23,7 +23,7 @@ ADD=$(echo ${vstring} | cut -s -d- -f2)
git rev-parse 2> /dev/null
if [ $? == 0 ]; then
- CMT=$(git describe --dirty --match "$version_prefix*" | sed "s/$version_prefix//" | cut -s -d- -f3,4)
+ CMT=$(git describe --match "$version_prefix*" | sed "s/$version_prefix//" | cut -s -d- -f3,4)
else
CMT=$(echo ${vstring} | cut -s -d- -f3,4)
fi
@@ -54,4 +54,4 @@ fi
fi
else
echo ${TAG}-release
-fi \ No newline at end of file
+fi