This runs the changelog generation on versioning automatically, if it isn't a pre-release. It also runs the build and API docs generation on publish and makes sure that the generated API docs are in the published package.