You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "jianguotian (via GitHub)" <gi...@apache.org> on 2026/06/11 08:44:27 UTC

[PR] ci: fix update_branch_version.sh skipping Cargo.toml on snapshot bumps [paimon-mosaic]

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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ci: fix update_branch_version.sh skipping Cargo.toml on snapshot bumps [paimon-mosaic]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #57:
URL: https://github.com/apache/paimon-mosaic/pull/57#issuecomment-4690902962

   +1


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ci: fix update_branch_version.sh skipping Cargo.toml on snapshot bumps [paimon-mosaic]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #57:
URL: https://github.com/apache/paimon-mosaic/pull/57


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org