From: Keith Packard Date: Sun, 4 May 2008 03:37:49 +0000 (-0700) Subject: Allow for RC versions in README update X-Git-Tag: 2.5.92~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0b15b5f38b94ca1eda2b8b25de939776198c017a;p=fontconfig.git Allow for RC versions in README update --- 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