This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git
The following commit(s) were added to refs/heads/main by this push:
new 5afdba31a fix: fix release script (#3687)
5afdba31a is described below
commit 5afdba31afc1e38be8e7d5b05ae49ca62054b96b
Author: Shawn Yang <[email protected]>
AuthorDate: Mon May 18 09:20:47 2026 +0800
fix: fix release script (#3687)
## Why?
## What does this PR do?
## Related issues
## AI Contribution Checklist
- [ ] Substantial AI assistance was used in this PR: `yes` / `no`
- [ ] If `yes`, I included a completed [AI Contribution
Checklist](https://github.com/apache/fory/blob/main/AI_POLICY.md#9-contributor-checklist-for-ai-assisted-prs)
in this PR description and the required `AI Usage Disclosure`.
- [ ] If `yes`, my PR description includes the required `ai_review`
summary and screenshot evidence of the final clean AI review results
from both fresh reviewers on the current PR diff or current HEAD after
the latest code changes.
## Does this PR introduce any user-facing change?
- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
---
ci/release.py | 18 ++++++++++++++++++
kotlin/fory-kotlin-tests/pom.xml | 4 ++++
2 files changed, 22 insertions(+)
diff --git a/ci/release.py b/ci/release.py
index 6d926b50a..5c2165008 100644
--- a/ci/release.py
+++ b/ci/release.py
@@ -225,8 +225,16 @@ def bump_java_version(new_version):
"java/fory-test-core",
"java/fory-testsuite",
"java/fory-latest-jdk-tests",
+ "java/fory-annotation-processor",
]:
_bump_version(p, "pom.xml", new_version, _update_pom_parent_version)
+ for file in ["build.gradle", "README.md"]:
+ _bump_version(
+ "integration_tests/android_tests",
+ file,
+ new_version,
+ _update_android_tests_dependency_version,
+ )
# mvn versions:set too slow
# os.chdir(os.path.join(PROJECT_ROOT_DIR, "java"))
# subprocess.check_output(
@@ -365,6 +373,16 @@ def _update_pom_parent_version(lines, new_version):
lines[line_number] = line
+def _update_android_tests_dependency_version(lines, new_version):
+ for index, line in enumerate(lines):
+ lines[index] = re.sub(
+
r"(org\.apache\.fory:fory-(?:core|annotation-processor):)[^'`)\s]+",
+ r"\g<1>" + new_version,
+ line,
+ )
+ return lines
+
+
def _update_scala_version(lines, v):
v = _normalize_java_version(v)
for index, line in enumerate(lines):
diff --git a/kotlin/fory-kotlin-tests/pom.xml b/kotlin/fory-kotlin-tests/pom.xml
index 42c7ea374..f7b8bd7a0 100644
--- a/kotlin/fory-kotlin-tests/pom.xml
+++ b/kotlin/fory-kotlin-tests/pom.xml
@@ -31,6 +31,10 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>fory-kotlin-tests</artifactId>
+ <properties>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ </properties>
+
<build>
<resources>
<resource>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]