This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: maintainer-scripts/gcc_release -- snapshot announcements
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 22 Sep 2003 16:29:36 +0200 (CEST)
- Subject: PATCH: maintainer-scripts/gcc_release -- snapshot announcements
Tested by (dry) running today's snapshot; installed and also applied
to the copy in the gccadmin account on gcc.gnu.org.
Gerald
2003-09-22 Gerald Pfeifer <gerald@pfeifer.com>
* gcc_release (announce_snapshot): Restructure processing
of snapshot-README and snapshot-index.html and add a new
substitution for @EXPORT@.
Index: gcc_release
===================================================================
RCS file: /cvs/gcc/gcc/maintainer-scripts/gcc_release,v
retrieving revision 1.42
diff -u -3 -p -r1.42 gcc_release
--- gcc_release 24 Aug 2003 13:28:53 -0000 1.42
+++ gcc_release 22 Sep 2003 14:28:01 -0000
@@ -397,16 +397,20 @@ announce_snapshot() {
TEXT_DATE=`date --date=$DATE +%B\ %d,\ %Y`
cd ~ftp/pub/gcc/snapshots
sed -e "s%@DATE@%$DATE%g" \
- -e "s%@LAST_DATE@%$LAST_DATE%g" \
+ -e "s%@TEXT_DATE@%$TEXT_DATE%g" \
+ -e "s%@LAST_DATE@%$LAST_DATE%g" \
-e "s%@BRANCH@%${BRANCH}%g" \
-e "s%@RELEASE@%${RELEASE}%g" \
- -e "s%@TEXT_DATE@%$TEXT_DATE%g" < ~/scripts/snapshot-README > $$
+ -e "s%@EXPORT@%${EXPORTTAG} ${EXPORTDATE}%g" \
+ ~/scripts/snapshot-README > $$
mv $$ ${RELEASE}/README
sed -e "s%@DATE@%$DATE%g" \
- -e "s%@LAST_DATE@%$LAST_DATE%g" \
+ -e "s%@TEXT_DATE@%$TEXT_DATE%g" \
+ -e "s%@LAST_DATE@%$LAST_DATE%g" \
-e "s%@BRANCH@%${BRANCH}%g" \
-e "s%@RELEASE@%${RELEASE}%g" \
- -e "s%@TEXT_DATE@%$TEXT_DATE%g" < ~/scripts/snapshot-index.html > $$
+ -e "s%@EXPORT@%${EXPORTTAG} ${EXPORTDATE}%g" \
+ ~/scripts/snapshot-index.html > $$
mv $$ ${RELEASE}/index.html
touch LATEST-IS-${BRANCH}-${DATE}