You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2021/09/16 11:42:20 UTC

svn commit: r1893378 - /httpd/dev-tools/release/r6-announce.sh

Author: icing
Date: Thu Sep 16 11:42:20 2021
New Revision: 1893378

URL: http://svn.apache.org/viewvc?rev=1893378&view=rev
Log:
 * r6: generate a unique message-id for each mail

Modified:
    httpd/dev-tools/release/r6-announce.sh

Modified: httpd/dev-tools/release/r6-announce.sh
URL: http://svn.apache.org/viewvc/httpd/dev-tools/release/r6-announce.sh?rev=1893378&r1=1893377&r2=1893378&view=diff
==============================================================================
--- httpd/dev-tools/release/r6-announce.sh (original)
+++ httpd/dev-tools/release/r6-announce.sh Thu Sep 16 11:42:20 2021
@@ -67,13 +67,13 @@ if ! test -f "${AO_DIST_RELEASE_PATH}/${
   fail "not found: ${AO_DIST_RELEASE_PATH}/${ANNOUNCEMENT}"
 fi
 
-counter=0
-MID="<`perl -e 'print time . ".";@chars=("A".."Z",0..0);print $chars[rand @chars] for 1..8;'`@httpd.apache.org>"
-DATE=`date '+%a, %d %b %Y %H:%M:%S %z'`
 
+DATE=`date '+%a, %d %b %Y %H:%M:%S %z'`
 email="${asf_id}@apache.org"
 
+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;'`@httpd.apache.org>"
     mail_file="${DIST_DIR}/mail_announce_${VERSION}-${counter}.txt"
     cat <<EOF > "$mail_file"
 From: ${asf_id} <$email>