Skip to content

Commit

Permalink
add new crates to script
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Feb 16, 2024
1 parent 14cb962 commit a8ce0e6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions dev/update_datafusion_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,22 @@
import tomlkit

crates = {
'datafusion': 'datafusion/core/Cargo.toml',
'datafusion-cli': 'datafusion-cli/Cargo.toml',
'datafusion-common': 'datafusion/common/Cargo.toml',
'datafusion-expr': 'datafusion/expr/Cargo.toml',
'datafusion': 'datafusion/core/Cargo.toml',
'datafusion-execution': 'datafusion/execution/Cargo.toml',
'datafusion-expr': 'datafusion/expr/Cargo.toml',
'datafusion-functions': 'datafusion/functions/Cargo.toml',
'datafusion-functions-array': 'datafusion/functions-array/Cargo.toml',
'datafusion-optimizer': 'datafusion/optimizer/Cargo.toml',
'datafusion-physical-expr': 'datafusion/physical-expr/Cargo.toml',
'datafusion-physical-plan': 'datafusion/physical-plan/Cargo.toml',
'datafusion-proto': 'datafusion/proto/Cargo.toml',
'datafusion-substrait': 'datafusion/substrait/Cargo.toml',
'datafusion-sql': 'datafusion/sql/Cargo.toml',
'datafusion-sqllogictest': 'datafusion/sqllogictest/Cargo.toml',
'datafusion-substrait': 'datafusion/substrait/Cargo.toml',
'datafusion-wasmtest': 'datafusion/wasmtest/Cargo.toml',
'datafusion-benchmarks': 'benchmarks/Cargo.toml',
'datafusion-cli': 'datafusion-cli/Cargo.toml',
'datafusion-examples': 'datafusion-examples/Cargo.toml',
'datafusion-docs': 'docs/Cargo.toml',
}
Expand All @@ -55,7 +57,7 @@ def update_workspace_version(new_version: str):
doc = tomlkit.parse(data)
pkg = doc.get('workspace').get('package')

print('workspace pacakge', pkg)
print('workspace package', pkg)
pkg['version'] = new_version

with open(cargo_toml, 'w') as f:
Expand Down

0 comments on commit a8ce0e6

Please sign in to comment.