Skip to content

Commit

Permalink
Maintenance: update release process script (#1340)
Browse files Browse the repository at this point in the history
* release notes no longer mention specific version since
  c0789db. 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.
  • Loading branch information
yadij authored and squid-anubis committed May 24, 2023
1 parent 834fddb commit b7fe9e6
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions mkrelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit b7fe9e6

Please sign in to comment.