]> git.wh0rd.org - fontconfig.git/commitdiff
Allow for RC versions in README update
authorKeith Packard <keithp@keithp.com>
Sun, 4 May 2008 03:37:49 +0000 (20:37 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 4 May 2008 03:37:49 +0000 (20:37 -0700)
new-version.sh

index b6a156d323d26e549b5e9c600367dc36a3e54b7f..c771aeb09705d475fcb56cce49468917df5fcf34 100644 (file)
@@ -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