Skip to content

Apache DataFusion SQL Query Engine

Fix bug in ballista version upgrade script (#2488)

Andy Groved985c0a3b6d9
diff --git a/dev/update_ballista_versions.py b/dev/update_ballista_versions.py
index 57e055e964..d30f027d7b 100755
--- a/dev/update_ballista_versions.py
+++ b/dev/update_ballista_versions.py
@@ -35,7 +35,7 @@ def update_cargo_toml(cargo_toml: str, new_version: str):
data = f.read()
doc = tomlkit.parse(data)
- if cargo_toml.startswith("ballista/"):
+ if "ballista/" in cargo_toml:
doc.get('package')['version'] = new_version
# ballista crates also depend on each other