Do not update gh-pages on prereleases

Also add version number to the commit message on actual releases.