Extract publishing stuff from build