]> sourceware.org Git - bzip2.git/commitdiff
release-update.sh should update version number in website pages too.
authorMark Wielaard <mark@klomp.org>
Thu, 11 Jul 2019 00:40:18 +0000 (02:40 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 11 Jul 2019 00:40:18 +0000 (02:40 +0200)
release-update.sh

index d641ca634ec87e109b48ec590e67c60a145eff50..d860f6755bc887fd1637cd4f559067b226c9dafa 100755 (executable)
@@ -76,6 +76,10 @@ git clone ssh://sourceware.org/git/bzip2-htdocs.git
 cp bzip2/CHANGES bzip2/bzip.css bzip2-htdocs/
 cp bzip2/bzip.css bzip2/bzip2.txt bzip2/manual.{html,pdf} bzip2-htdocs/manual/
 cd bzip2-htdocs
+
+# Update version in html pages.
+sed -i -e "s/The current stable version is bzip2 [0-9]\.[0-9]\.[0-9]\+/The current stable version is bzip2 ${VERSION}/" *.html */*.html
+
 git commit -a -m "Update for bzip2 $VERSION release"
 git show
 git push
This page took 0.023671 seconds and 5 git commands to generate.