jianguotian opened a new pull request, #57:
URL: https://github.com/apache/paimon-mosaic/pull/57

   update_branch_version.sh bumps the version across the pom, the three 
Cargo.toml crates, and pyproject.toml. The pom regex tolerates an optional 
-SNAPSHOT suffix, but Cargo.toml and pyproject.toml are matched against 
OLD_VERSION verbatim — and those files never carry -SNAPSHOT.
   
   So when OLD_VERSION is 0.2.0-SNAPSHOT (the normal "bump main to 
0.3.0-SNAPSHOT" case), the perl match fails on the Rust crates and the Python 
package: they stay at the old version while the pom moves. main is already in 
this split state today (pom 0.2.0-SNAPSHOT, crates 0.2.0).
   
   Strip -SNAPSHOT from OLD_VERSION too, mirroring NEW_VERSION_CLEAN. After 
this, OLD=0.2.0-SNAPSHOT NEW=0.3.0-SNAPSHOT moves all five files in one run — 
verified locally: pom → 0.3.0-SNAPSHOT, crates + pyproject → 0.3.0.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to