9ae5a046969f62e6bb242d927fee750adc9fa01c
3 # fallback date (in RFC format)
4 VERSION
=`date "+%a, %d %b %Y %H:%M:%S %z"`
6 # use the date information from git, if git is present
8 if [ $?
-eq 0 ] && [ -d ".git" ]
10 VERSION
=`git log -1 --date-order --date=rfc --pretty="format:%cd"`
13 echo "let version_date = \"$VERSION\""