Changed 'publish' task.