remove publication config to deprecate it.