Adjusts dependencies for "publish" tasks