Permalink
Browse files

Prefix 'Previous' to 'Parrot Documentation Releases' per rurban++'s s…

…uggestion.
  • Loading branch information...
1 parent eb328cf commit cd9dcb6ea45635e87b465a91990ba7ad22ab45c8 @ayardley ayardley committed Jul 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/release/parrot_github_release.pl
@@ -330,15 +330,15 @@ sub update_parrot_github {
chdir $parrot_dir;
}
-# Update the link to 'Parrot Documentation Releases' in 'index.html'
+# Update the link to 'Previous Parrot Documentation Releases' in 'index.html'
sub update_index_html {
my $buffer = '';
open my $FH, '+<', 'index.html' or stop("Unable to open 'index.html'");
while (<$FH>) {
s/$1/$version/ if /Parrot ($major\.$minor\.$patch)-devel - Home/;
s/$1/$version/ if /Parrot version ($major\.$minor\.$patch)-devel/;
s/$1/$major\.$minor\.$patch/
- if /Parrot Documentation Releases \((\d.\d.\d) - 0.1.1\)/;
+ if /Previous Parrot Documentation Releases \((\d.\d.\d) - 0.1.1\)/;
$buffer .= $_;
}
seek($FH, 0, 0) or stop("Unable to seek start of 'index.html'");

0 comments on commit cd9dcb6

Please sign in to comment.