This is an automated email from the ASF dual-hosted git repository.
kezhuw pushed a commit to branch branch-3.9
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/branch-3.9 by this push:
new adc8744a0 ZOOKEEPER-4928: Fix ZOO_VERSION not updated during mvn
release:prepare
adc8744a0 is described below
commit adc8744a0f3d395aa02ec75d99d7c0a7f8dbcbf0
Author: Kezhu Wang <[email protected]>
AuthorDate: Mon May 12 09:23:19 2025 +0800
ZOOKEEPER-4928: Fix ZOO_VERSION not updated during mvn release:prepare
Reviewers: eolivelli, tisonkun
Author: kezhuw
Closes #2259 from
kezhuw/ZOOKEEPER-4928-fix-ZOO_VERSION-not-updated-during-release
(cherry picked from commit aeadf574c0463e7e3db092b588033d8347989d4c)
Signed-off-by: Kezhu Wang <[email protected]>
---
zookeeper-client/zookeeper-client-c/include/zookeeper_version.h | 2 +-
zookeeper-client/zookeeper-client-c/pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/zookeeper-client/zookeeper-client-c/include/zookeeper_version.h
b/zookeeper-client/zookeeper-client-c/include/zookeeper_version.h
index cb415a507..b6d8b1f48 100644
--- a/zookeeper-client/zookeeper-client-c/include/zookeeper_version.h
+++ b/zookeeper-client/zookeeper-client-c/include/zookeeper_version.h
@@ -22,7 +22,7 @@
extern "C" {
#endif
-#define ZOO_VERSION "3.9.3"
+#define ZOO_VERSION "3.9.5"
#ifdef __cplusplus
}
diff --git a/zookeeper-client/zookeeper-client-c/pom.xml
b/zookeeper-client/zookeeper-client-c/pom.xml
index 20e1a8d34..15a4760c3 100755
--- a/zookeeper-client/zookeeper-client-c/pom.xml
+++ b/zookeeper-client/zookeeper-client-c/pom.xml
@@ -124,7 +124,7 @@
</goals>
<configuration>
<target>
- <replaceregexp file="include/zookeeper_version.h"
match="project.*" replace="project(zookeeper VERSION ${project.version})"
byline="true" />
+ <replaceregexp file="include/zookeeper_version.h"
match="\#define ZOO_VERSION.*" replace="#define ZOO_VERSION
"${project.version}"" byline="true" />
<replace file="include/zookeeper_version.h" value="">
<replaceToken>-SNAPSHOT</replaceToken>
</replace>