summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2019-07-11 02:40:18 +0200
committerMark Wielaard <mark@klomp.org>2019-07-11 02:40:18 +0200
commit04e979201daffd511826ed1c196c9f5fe7d14a89 (patch)
tree2c1f1d6a1eebe865ff6fc9bdaeafda89ec49f20e
parentAccept as many selectors as the file format allows. (diff)
downloadbzip2-04e979201daffd511826ed1c196c9f5fe7d14a89.tar.gz
bzip2-04e979201daffd511826ed1c196c9f5fe7d14a89.tar.bz2
bzip2-04e979201daffd511826ed1c196c9f5fe7d14a89.tar.xz
release-update.sh should update version number in website pages too.
-rwxr-xr-xrelease-update.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/release-update.sh b/release-update.sh
index d641ca6..d860f67 100755
--- a/release-update.sh
+++ b/release-update.sh
@@ -76,6 +76,10 @@ git clone ssh://sourceware.org/git/bzip2-htdocs.git
76cp bzip2/CHANGES bzip2/bzip.css bzip2-htdocs/ 76cp bzip2/CHANGES bzip2/bzip.css bzip2-htdocs/
77cp bzip2/bzip.css bzip2/bzip2.txt bzip2/manual.{html,pdf} bzip2-htdocs/manual/ 77cp bzip2/bzip.css bzip2/bzip2.txt bzip2/manual.{html,pdf} bzip2-htdocs/manual/
78cd bzip2-htdocs 78cd bzip2-htdocs
79
80# Update version in html pages.
81sed -i -e "s/The current stable version is bzip2 [0-9]\.[0-9]\.[0-9]\+/The current stable version is bzip2 ${VERSION}/" *.html */*.html
82
79git commit -a -m "Update for bzip2 $VERSION release" 83git commit -a -m "Update for bzip2 $VERSION release"
80git show 84git show
81git push 85git push