Added a script to replace the git hash on every pre build.