run dist-upgrade during deployments