0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 20:37:51 +00:00

Utilities: Make sure that version number changes do not touch snapshot links.

This commit is contained in:
Carsten Dominik 2009-02-07 15:20:32 +01:00
parent c92a7825b7
commit 86c8daa1f6

View file

@ -33,7 +33,7 @@ system($c1);
if ($all) {
print STDERR "ORGWEBPAGE/index.org\n";
$cmd = qq{s/^(\\* Current Version )\\(\\S+?\\)/\$1($version)/;s/^(The current version is)\\s+(\\S+)\\. /\$1 $version. /;s/org-.*?\\.(zip|tar\\.gz)/org-$version.\$1/g};
$cmd = qq{s/^(\\* Current Version )\\(\\S+?\\)/\$1($version)/;s/^(The current version is)\\s+(\\S+)\\. /\$1 $version. /;s/org-\d.*?\\.(zip|tar\\.gz)/org-$version.\$1/g};
$c1 = "perl -pi -e '$cmd' ORGWEBPAGE/index.org";
system($c1);
}