This ensures it matches the version declared in the pubspec, so that we don't end up merging a different version than the PR tested.