Add SNAPTSHOT=CURRENT to build with the commit # in the version string

This commit is contained in:
Isaac Connor committed 2019-10-20 11:44:19 -04:00
1 parent 21dd9b527d
commit bf69e053b4
1 file changed
+4
+4
View File
@@ -120,6 +120,10 @@ else
fi;
if [ "$SNAPSHOT" == "NOW" ]; then
SNAPSHOT=`date +%Y%m%d%H%M%S`;
else
if [ "$SNAPSHOT" == "CURRENT" ]; then
SNAPSHOT="`date +%Y%m%d.`$(git rev-list ${versionhash}..HEAD --count)"
fi;
fi;
fi;
fi