Preparing the build for publishing