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

schultz pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 767eb68332 Update the release-manager's asf id in the changelog during 
pre-release.
767eb68332 is described below

commit 767eb68332c18132a5d153243e8665a0f68b169f
Author: Christopher Schultz <ch...@christopherschultz.net>
AuthorDate: Mon Jul 8 09:48:44 2024 -0400

    Update the release-manager's asf id in the changelog during pre-release.
---
 build.xml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/build.xml b/build.xml
index b518a42a4a..219be34f20 100644
--- a/build.xml
+++ b/build.xml
@@ -2784,10 +2784,12 @@ gpg.exec=${gpg.exec}
 # Set the user name to use to upload the artefacts to Nexus.
 asf.ldap.username=${release.asfusername}
 </echo>
-    <replace file="webapps/docs/changelog.xml"
-        encoding="UTF-8"
-        token="rtext=&quot;in development&quot;"
-        value="rtext=&quot;&quot;" />
+    <!-- Update the changelog to include the release-manager's asfid and 
remove any rtext -->
+    <replaceregexp file="webapps/docs/changelog.xml"
+               encoding="UTF-8"
+                 byline="true"
+                  match="&lt;section name=&quot;Tomcat 
${version.major}.${version.minor}.${version.build}${version.suffix} 
\([^)]*\).*&gt;"
+                replace="&lt;section name=&quot;Tomcat 
${version.major}.${version.minor}.${version.build}${version.suffix} 
\(${release.asfusername}\)&quot; rtext=&quot;&quot;&gt;" />
   </target>
 
   <target name="release"


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to