X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=packaging%2FmkNEWS;h=96485dbfc8641b7c9a01444fbe221a9150ff083f;hb=4f884f68edbbf95cc983fca66be57f399f126b64;hp=495d09283953779babfb82f5629f3fc5ebc2f6a8;hpb=7e0337b0c91e10012bc41d0671b603ae73c89831;p=inkscape.git 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; }