Allow for RC versions in README update
This commit is contained in:
parent
19d124dc4f
commit
0b15b5f38b
|
@ -70,7 +70,7 @@ if [ $version != $last ]; then
|
||||||
#
|
#
|
||||||
# header
|
# header
|
||||||
#
|
#
|
||||||
(sed '/^2\.[0-9.]*$/,$d' README |
|
(sed '/^2\.[0-9.]*/,$d' README |
|
||||||
sed -e "s/Version.*/Version $version_note/" \
|
sed -e "s/Version.*/Version $version_note/" \
|
||||||
-e "s/200.*/$date/" | awk '
|
-e "s/200.*/$date/" | awk '
|
||||||
/^[ \t]/ {
|
/^[ \t]/ {
|
||||||
|
@ -98,7 +98,7 @@ if [ $version != $last ]; then
|
||||||
# previous changelogs
|
# 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)
|
(echo "README update failed"; exit 1)
|
||||||
|
|
||||||
mv README.tmp README
|
mv README.tmp README
|
||||||
|
|
Loading…
Reference in New Issue