buildDocExports.sh : Added commit reference in the LAST_UPDATE_FILE
authorBenjamin Renard <brenard@aconit.easter-eggs.fr>
Wed, 21 Apr 2010 09:50:30 +0000 (11:50 +0200)
committerBenjamin Renard <brenard@aconit.easter-eggs.fr>
Wed, 21 Apr 2010 09:50:30 +0000 (11:50 +0200)
buildDocExports.sh

index 84c398b..92fde7a 100755 (executable)
@@ -140,6 +140,8 @@ then
     echo -n "-> Create last-update file : "
     echo "Last update :" > $LAST_UPDATE_FILE
     date >> $LAST_UPDATE_FILE
+    cd $ROOT_DIR
+    git log|head -n 1 >> $LAST_UPDATE_FILE
     echo >> $LAST_UPDATE_FILE
     echo done.
 fi