]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Maintenance: update release process script (#1340)
authorAmos Jeffries <yadij@users.noreply.github.com>
Wed, 24 May 2023 03:57:07 +0000 (03:57 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 24 May 2023 06:44:06 +0000 (06:44 +0000)
* release notes no longer mention specific version since
  c0789db1f479206e43f96add370363127834757a. No more need to
  validate it is correct before release.

* web server has not been the direct release destination for
  many years. Remove mentions of $dst/changesets/

* web server references github repository for basic
  information. Do not push CONTRIBUTORS, COPYING, README,
  CREDITS and SPONSORS files to staging area.

* release notes no longer link to local ChangeLog file.
  No need to adjust the hyperlink.

mkrelease.sh

index 2298990c6620d141f375e504bd21d955684f12e9..c7c5128fc26dfc8b6f343c65e5329dfab1e0b1c1 100755 (executable)
@@ -53,11 +53,6 @@ if [ ${name} != ${PACKAGE}-${VERSION} ]; then
        exit 1
 fi
 RELEASE=`echo $VERSION | cut -d. -f1,1 | cut -d- -f1`
-NOTES_VERSION=`grep "$VERSION" doc/release-notes/release-${RELEASE}.sgml`
-if test "x$NOTES_VERSION" = "x"; then
-       echo "ERROR! Release Notes HTML version numbers do not match!"
-       exit 1
-fi
 ed -s configure.ac <<EOS
 g/${VERSION}-VCS/ s//${VERSION}/
 w
@@ -82,21 +77,8 @@ chmod 444 $2
 }
 inst $tmpdir/${name}.tar.gz    $dst/${name}.tar.gz
 inst $tmpdir/${name}.tar.bz2   $dst/${name}.tar.bz2
-inst $tmpdir/CONTRIBUTORS      $dst/CONTRIBUTORS.txt
-inst $tmpdir/COPYING           $dst/COPYING.txt
-inst $tmpdir/README            $dst/README.txt
-inst $tmpdir/CREDITS           $dst/CREDITS.txt
-inst $tmpdir/SPONSORS          $dst/SPONSORS.txt
 inst $tmpdir/ChangeLog         $dst/ChangeLog.txt
 if [ -f $tmpdir/doc/release-notes/release-$RELEASE.html ]; then
-    cat $tmpdir/doc/release-notes/release-$RELEASE.html | sed -e '
-       s/"ChangeLog"/"ChangeLog.txt"/g;
-    ' > $tmpdir/RELEASENOTES.html
-    touch -r $tmpdir/doc/release-notes/release-$RELEASE.html $tmpdir/RELEASENOTES.html
     inst $tmpdir/RELEASENOTES.html $dst/${name}-RELEASENOTES.html
     ln -sf ${name}-RELEASENOTES.html $dst/RELEASENOTES.html
 fi
-if [ -f $dst/changesets/.update ]; then
-    rm -f $dst/changesets/$tag.html
-    $dst/changesets/.update
-fi