projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19d124d
)
Allow for RC versions in README update
author
Keith Packard
<keithp@keithp.com>
Sun, 4 May 2008 03:37:49 +0000
(20:37 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sun, 4 May 2008 03:37:49 +0000
(20:37 -0700)
new-version.sh
patch
|
blob
|
history
diff --git
a/new-version.sh
b/new-version.sh
index
b6a156d
..
c771aeb
100644
(file)
--- 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