We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f80e6b commit 9e6fbccCopy full SHA for 9e6fbcc
version.sh
@@ -1,7 +1,7 @@
1
#!/bin/sh
2
# simple version number script loosely based on git-version-gen
3
4
-v=`git describe --abbrev=4 --match="v*" HEAD 2>/dev/null || echo "UNKNOWN"`
+v=`git describe --abbrev=4 --match="v*" HEAD`
5
v=`echo "$v" | tr -d "vg" | tr "\-" "."`
6
echo $v > VERSION
7
printf %s "$v"
0 commit comments