generate .gitrevision file if it does not exist