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

kezhuw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new aeadf574c ZOOKEEPER-4928: Fix ZOO_VERSION not updated during mvn 
release:prepare
aeadf574c is described below

commit aeadf574c0463e7e3db092b588033d8347989d4c
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
---
 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 4550be265..91e45cff3 100644
--- 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 
&quot;${project.version}&quot;" byline="true" />
                   <replace file="include/zookeeper_version.h" value="">
                       <replaceToken>-SNAPSHOT</replaceToken>
                   </replace>

Reply via email to