Files
rustytorch/scripts/migration/fix-versions.sh
T
2026-03-04 00:08:42 +00:00

15 lines
448 B
Bash
Executable File

#!/bin/bash
# Fix all crate versions to 1.0.0 to match workspace
find crates -name "Cargo.toml" -type f | while read -r file; do
# Update version = "0.1.0" to version = "1.0.0"
sed -i 's/^version = "0\.1\.0"/version = "1.0.0"/' "$file"
# Also update any version.workspace references if needed
sed -i 's/^version\.workspace = true/version = "1.0.0"/' "$file"
echo "Updated: $file"
done
echo "Version fixes complete!"