Skip to content

Commit

Permalink
Update the release-manager's asf id in the changelog during pre-release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherSchultz committed Jul 8, 2024
1 parent a33b5a2 commit c109106
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2811,10 +2811,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"
Expand Down

0 comments on commit c109106

Please sign in to comment.