This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to branch releases-0.12 in repository https://gitbox.apache.org/repos/asf/fory.git
commit 63219779c12434ea9ee51c517af6b80e8c85003a Author: Shawn Yang <[email protected]> AuthorDate: Wed Aug 27 13:14:12 2025 +0800 fix(python): fix bump_wheel version (#2534) <!-- **Thanks for contributing to Fory.** **If this is your first time opening a PR on fory, you can refer to [CONTRIBUTING.md](https://github.com/apache/fory/blob/main/CONTRIBUTING.md).** Contribution Checklist - The **Apache Fory** community has requirements on the naming of pr titles. You can also find instructions in [CONTRIBUTING.md](https://github.com/apache/fory/blob/main/CONTRIBUTING.md). - Fory has a strong focus on performance. If the PR you submit will have an impact on performance, please benchmark it first and provide the benchmark result here. --> ## Why? <!-- Describe the purpose of this PR. --> ## What does this PR do? - Set bash for windows - Remove `-` from version ## Related issues <!-- Is there any related issue? If this PR closes them you say say fix/closes: - #xxxx0 - #xxxx1 - Fixes #xxxx2 --> ## Does this PR introduce any user-facing change? <!-- If any user-facing interface changes, please [open an issue](https://github.com/apache/fory/issues/new/choose) describing the need to do so and update the document if necessary. Delete section if not applicable. --> - [ ] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change? ## Benchmark <!-- When the PR has an impact on performance (if you don't know whether the PR will have an impact on performance, you can submit the PR first, and if it will have impact on performance, the code reviewer will explain it), be sure to attach a benchmark data here. Delete section if not applicable. --> --- ci/deploy.sh | 1 + ci/release.py | 1 + 2 files changed, 2 insertions(+) diff --git a/ci/deploy.sh b/ci/deploy.sh index cb9a23cf7..007ccb8a5 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -60,6 +60,7 @@ parse_py_version() { version="${version//-alpha/a}" version="${version//-beta/b}" version="${version//-rc/rc}" + version="${version//-//}" echo "$version" } diff --git a/ci/release.py b/ci/release.py index 5f913089e..347cad0d8 100644 --- a/ci/release.py +++ b/ci/release.py @@ -245,6 +245,7 @@ def _update_python_version(lines, v: str): v = v.replace("-alpha", "a") v = v.replace("-beta", "b") v = v.replace("-rc", "rc") + v = v.replace("-", "") lines[index] = f'__version__ = "{v}"\n' break --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
