zjw1111 opened a new pull request, #157: URL: https://github.com/apache/paimon-cpp/pull/157
### Purpose Linked issue: N/A Make CMake project-version parsing portable across GNU/Linux and macOS/BSD environments. The previous basic regular expressions used the GNU sed extension `\+`, so both release scripts returned an empty version with BSD sed. Use POSIX awk extended regular expressions instead. PR #156 fixes an unrelated cmake-format failure already present on the current main branch. Until that PR is merged, an all-files pre-commit run also rewrites examples/CMakeLists.txt; the hooks for the files changed here pass. ### Tests - reproduced the old empty result with `sed --posix` - parsed `0.2.3` from both the working tree and Git content with the new awk expression - `bash -n scripts/releasing/create_source_release.sh scripts/releasing/verify_release_candidate.sh` - `scripts/releasing/create_source_release.sh --version 0.2.3 --git-ref HEAD --output-dir <temp-dir>` - `scripts/releasing/verify_release_candidate.sh --allow-unsigned --skip-rat --skip-build <artifact>` - `pre-commit run --files scripts/releasing/create_source_release.sh scripts/releasing/verify_release_candidate.sh` - `git diff --check` ### API and Format No API, storage format, or protocol changes. ### Documentation No documentation changes. ### Generative AI tooling Generated-by: Codex (GPT-5) -- 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]
