Tidy up prepublish script and add a version file that is written on compile
2.0.7
2.0.8-pre