add an optional dist-upgrade task