Release v1.13.1#3590
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (81)
📝 WalkthroughWalkthroughThis PR performs a coordinated version bump across the entire sherpa-onnx repository from version 1.13.0 to 1.13.1. Changes span build configuration (CMakeLists, version.cc), Android/iOS/HarmonyOS app versions, Rust/Python/Node.js package manifests, example applications, and documentation. ChangesVersion 1.13.1 Release Bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the project version from 1.13.0 to 1.13.1 across various build configurations, dependency manifests, and documentation for Android, iOS, HarmonyOS, Rust, Python, and Node.js. The reviewer suggested refactoring the new-release.sh script to automate version detection and accept command-line arguments, noting that the current manual update process is brittle and error-prone.
| old_version_code=20260428 | ||
| new_version_code=20260508 | ||
|
|
||
| old_version="1\.12\.40" | ||
| new_version="1\.13\.0" | ||
| old_version="1\.13\.0" | ||
| new_version="1\.13\.1" |
There was a problem hiding this comment.
The manual update of version strings and codes in this script is brittle and error-prone. Additionally, escaping dots in the new_version variable (e.g., 1\.13\.1) is unnecessary for the replacement part of a sed command and makes the variable less useful if it were to be used in other contexts like logging or printing.
Consider refactoring the script to accept the new version as a command-line argument and automatically detect the current version from CMakeLists.txt. This would eliminate the need to manually edit this script for every release and reduce the risk of inconsistencies.
Summary by CodeRabbit
Bug Fixes
Chores