Prepare publishing.