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/01/31 14:50:38 UTC
svn commit: r1907146 - /apr/site/trunk/tools/r6-announce.sh
Author: covener
Date: Tue Jan 31 14:50:37 2023
New Revision: 1907146
URL: http://svn.apache.org/viewvc?rev=1907146&view=rev
Log:
add project, fix changes syntax for CVEs
Modified:
apr/site/trunk/tools/r6-announce.sh
Modified: apr/site/trunk/tools/r6-announce.sh
URL: http://svn.apache.org/viewvc/apr/site/trunk/tools/r6-announce.sh?rev=1907146&r1=1907145&r2=1907146&view=diff
==============================================================================
--- apr/site/trunk/tools/r6-announce.sh (original)
+++ apr/site/trunk/tools/r6-announce.sh Tue Jan 31 14:50:37 2023
@@ -98,7 +98,7 @@ echo ""
counter=0
for rcpt in ${ANNOUNCE_LISTS}; do
MID="<`perl -e 'print time . ".";@chars=("A".."Z",0..0);print $chars[rand @chars] for 1..8;'`@apr.apache.org>"
- mail_file="${DIST_DIR}/mail_announce_${VERSION}-${counter}.txt"
+ mail_file="${DIST_DIR}/mail_announce_${PROJECT}_${VERSION}-${counter}.txt"
cat <<EOF > "$mail_file"
From: ${asf_id} <$email>
To: $rcpt
@@ -122,7 +122,7 @@ EOF
done
-CVES_MENTIONED=`fgrep CVE- dist/apache.org-dist/release/apr/${CHANGES_FILE}-${v_major}-${v_minor}`
+CVES_MENTIONED=`fgrep CVE- dist/apache.org-dist/release/apr/${CHANGES_FILE}-${v_major}.${v_minor}`
if test -n "${CVES_MENTIONED}"; then
cat << EOF
Then set the following CVEs mentioned to READY on the ASF cveprocess site (and send the emails from the OSS/ASF tab):