Prepare pub publish