Write current version to public/revision.txt