Only conditionally run uploadArchives.