MagicMirror/githash.php
2014-02-19 17:02:17 +01:00

2 lines
70 B
PHP

<?php
echo json_encode(array('gitHash'=>trim(`git rev-parse HEAD`)));