enforce non-zero return value when publishing fails
forbid nested catalog marker in root directory