]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Squid releasenotes snapshots (merged from SQUID2)
authorhno <>
Sat, 19 Oct 2002 18:29:00 +0000 (18:29 +0000)
committerhno <>
Sat, 19 Oct 2002 18:29:00 +0000 (18:29 +0000)
mksnapshot.sh

index 8712aae8e9c77affe88e1e117203152d4ae4f00b..f5cf9a4357a65c4e44c4390e486a7427788231cb 100755 (executable)
@@ -40,11 +40,16 @@ make -s dist-all
 
 cd $startdir
 cp -p $tmpdir/${PACKAGE}-${VERSION}-${date}.tar.gz .
-cp -p $tmpdir/${PACKAGE}-${VERSION}-${date}.tar.bz2 .
-
 echo ${PACKAGE}-${VERSION}-${date}.tar.gz >>${tag}.out
+cp -p $tmpdir/${PACKAGE}-${VERSION}-${date}.tar.bz2 .
 echo ${PACKAGE}-${VERSION}-${date}.tar.bz2 >>${tag}.out
 
+relnotes=$tmpdir/doc/release-notes/release-`echo $VERSION | cut -d. -f1,2 | cut -d- -f1`.html
+if [ -f $relnotes ]; then
+       cp -p $relnotes ${PACKAGE}-${VERSION}-${date}-RELEASENOTES.html
+       echo ${PACKAGE}-${VERSION}-${date}-RELEASENOTES.html >>${tag}.out
+fi
+
 if (echo $VERSION | grep PRE) || (echo $VERSION | grep STABLE); then
   echo "Differences from ${PACKAGE}-${VERSION} to ${PACKAGE}-${VERSION}-${date}" >${PACKAGE}-${VERSION}-${date}.diff
   cvs -q rdiff -u -r SQUID_`echo $VERSION | tr .- __` -r $tag $module >>${PACKAGE}-${VERSION}-${date}.diff