This bumps the versions for the remote device, attempts a rebuild and commits the resulting versions if the rebuild succeeded.