* [PATCH] release-update.sh should update version number in website pages too.
@ 2019-01-01 0:00 Mark Wielaard
0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2019-01-01 0:00 UTC (permalink / raw)
To: bzip2-devel; +Cc: Mark Wielaard
Too many embedded version numbers. I hope I got them all now.
---
release-update.sh | 4 ++++
1 file changed, 4 insertions(+)
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
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
--
2.18.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-11 0:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01 0:00 [PATCH] release-update.sh should update version number in website pages too Mark Wielaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).