From 0b15b5f38b94ca1eda2b8b25de939776198c017a Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 3 May 2008 20:37:49 -0700 Subject: [PATCH] Allow for RC versions in README update --- new-version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/new-version.sh b/new-version.sh index b6a156d..c771aeb 100644 --- a/new-version.sh +++ b/new-version.sh @@ -70,7 +70,7 @@ if [ $version != $last ]; then # # header # - (sed '/^2\.[0-9.]*$/,$d' README | + (sed '/^2\.[0-9.]*/,$d' README | sed -e "s/Version.*/Version $version_note/" \ -e "s/200.*/$date/" | awk ' /^[ \t]/ { @@ -98,7 +98,7 @@ if [ $version != $last ]; then # previous changelogs # - sed -n '/^2\.[0-9.]*$/,$p' README) > README.tmp || + sed -n '/^2\.[0-9.]*/,$p' README) > README.tmp || (echo "README update failed"; exit 1) mv README.tmp README -- 2.39.5