diff options
author | Keith Packard <keithp@keithp.com> | 2008-05-03 20:37:49 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-05-03 20:37:49 -0700 |
commit | 0b15b5f38b94ca1eda2b8b25de939776198c017a (patch) | |
tree | 01f5547716a7b1d852be5c6c35c779fa85f947d6 /new-version.sh | |
parent | 19d124dc4f9a68e1c9ddce58bf79a5e11d2ccbfd (diff) |
Allow for RC versions in README update
Diffstat (limited to 'new-version.sh')
-rw-r--r-- | new-version.sh | 4 |
1 files 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 |