Fixes `publish` task