This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to tag v1.4.0
in repository https://gitbox.apache.org/repos/asf/fory.git

commit 043e33336605f09814a983cecd739281ed989b70
Author: chaokunyang <[email protected]>
AuthorDate: Fri Jul 17 00:15:27 2026 +0800

    fix(release): bump Rust crate documentation version
---
 ci/release.py | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/ci/release.py b/ci/release.py
index 24dd645e5..aed655785 100644
--- a/ci/release.py
+++ b/ci/release.py
@@ -668,6 +668,7 @@ def bump_rust_version(new_version):
         rust_version,
         _update_cargo_lock_version,
     )
+    _bump_version("rust/fory/src", "lib.rs", rust_version, 
_update_rust_doc_version)
 
 
 def bump_kotlin_version(new_version):
@@ -946,6 +947,14 @@ def _update_cargo_lock_version(lines, v: str):
     return lines
 
 
+def _update_rust_doc_version(lines, v: str):
+    for index, line in enumerate(lines):
+        if re.match(r'^//!\s+fory\s*=\s*"', line):
+            lines[index] = re.sub(r'"[^"]+"', f'"{v}"', line, count=1)
+            break
+    return lines
+
+
 def _update_cmake_project_version(lines, v: str):
     cmake_version = _normalize_cmake_version(v)
     in_project = False


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to