rename uploadArchives to publishArtifacts task.