You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by co...@apache.org on 2023/04/20 12:20:43 UTC

svn commit: r1909286 - /apr/site/trunk/release/r4-stage-release.sh

Author: covener
Date: Thu Apr 20 12:20:43 2023
New Revision: 1909286

URL: http://svn.apache.org/viewvc?rev=1909286&view=rev
Log:
missed site updates

Modified:
    apr/site/trunk/release/r4-stage-release.sh

Modified: apr/site/trunk/release/r4-stage-release.sh
URL: http://svn.apache.org/viewvc/apr/site/trunk/release/r4-stage-release.sh?rev=1909286&r1=1909285&r2=1909286&view=diff
==============================================================================
--- apr/site/trunk/release/r4-stage-release.sh (original)
+++ apr/site/trunk/release/r4-stage-release.sh Thu Apr 20 12:20:43 2023
@@ -106,7 +106,10 @@ echo "updating site content for ${PROJEC
 date_string=`date '+%B %d, %Y'`
 #Modify the home page by replacing the date and the version string
 perl -pi -e "s/($HTML_REGEX)${v_major}\.${v_minor}\.\d+/\${1}${VERSION}/g" "${DIST_SITEPATH}/xdocs/download.xml" "${DIST_SITEPATH}/xdocs/index.xml"
+perl -pi -e "s/${v_major}\.${v_minor}\.\d+ of the ($HTML_REGEX)/\${VERSION} of the \$1/g" "${DIST_SITEPATH}/xdocs/download.xml" "${DIST_SITEPATH}/xdocs/index.xml"
 perl -pi -e "s/${VERSION}, released [^<]+/${VERSION}, released ${date_string}/" "${DIST_SITEPATH}/xdocs/index.xml"
+(cd ${DIST_SITEPATH} && ./build.sh)
+
 
 echo "adding site changes"
 stage_checkout_release