Refactor gh-commit a bit
Add a version number to gh-pages output