This is an automated email from the ASF dual-hosted git repository.
kezhuw pushed a commit to branch branch-3.8
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/branch-3.8 by this push:
new 56cc908c8 ZOOKEEPER-4928: Fix ZOO_VERSION not updated during mvn
release:prepare
56cc908c8 is described below
commit 56cc908c88658173b092f3ffb1d794cb268bf6bf
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/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zookeeper-client/zookeeper-client-c/pom.xml
b/zookeeper-client/zookeeper-client-c/pom.xml
index d908bcc28..8d19a513a 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>