diff options
| author | Bryce Harrington <bryce@bryceharrington.org> | 2008-03-11 04:31:34 +0000 |
|---|---|---|
| committer | bryce <bryce@users.sourceforge.net> | 2008-03-11 04:31:34 +0000 |
| commit | 6788c473c8d7842757160835ef7cd78ccf7f6304 (patch) | |
| tree | 6ec319db2bd07bdbb3eb4f6e196ac9539607cb1e /packaging | |
| parent | fixing wrong uppercase on second word for 'Draw Freely' on Slovenian (diff) | |
| download | inkscape-6788c473c8d7842757160835ef7cd78ccf7f6304.tar.gz inkscape-6788c473c8d7842757160835ef7cd78ccf7f6304.zip | |
Fixing to work with current wiki format
(bzr r5049)
Diffstat (limited to 'packaging')
| -rw-r--r-- | packaging/mkNEWS | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/packaging/mkNEWS b/packaging/mkNEWS index 495d09283..96485dbfc 100644 --- a/packaging/mkNEWS +++ b/packaging/mkNEWS @@ -13,20 +13,22 @@ my $rel = shift @ARGV; $rel =~ s/\.//; -my @page = `lynx -dump $wiki?title=ReleaseNotes$rel`; +my @page = `lynx -dump $wiki/ReleaseNotes$rel`; + +print "$#page lines\n"; my $seen_overview = 0; foreach my $line (@page) { - last if $line =~ /^Previous releases/; - next if $line =~ /\[\[\d+\]edit\]/; - if ($line =~ /^Inkscape .*0.45/ || $line =~ /^Inkscape .* changes with respect to/) { + $line =~ s/\[\[\d+\]edit\]//g; + + last if $line =~ /^ Previous releases/; + + if ($line =~ /^\s+Inkscape 0\.46/) { $seen_overview = 1; } next unless $seen_overview; - $line =~ s/\[\d+\](\w)/$1/g; - print $line; } |
