Commits

Shlomi Fish committed baa635d

Update the tag-release.pl script for Mercurial.

  • Participants
  • Parent commits cdf2baa

Comments (0)

Files changed (2)

Statistics-Descriptive/Changes

     - Correct a misspelling of "weight" in
     lib/Statistics/Descriptive/Smoother/Weightedexponential.pm
         - Thanks to Wilhelm for the report.
+    - Update the scripts/tag-release.pl file for Mercurial.
 
 3.0603      May 15, 2012
     - Use in_between to compare decimal numbers

Statistics-Descriptive/scripts/tag-release.pl

 
 use IO::All;
 
-my ($version) = 
-    (map { m{\$VERSION *= *'([^']+)'} ? ($1) : () } 
+my ($version) =
+    (map { m{\$VERSION *= *'([^']+)'} ? ($1) : () }
     io->file('lib/Statistics/Descriptive.pm')->getlines()
     )
     ;
 my $mini_repos_base = 'https://svn.berlios.de/svnroot/repos/web-cpan/Statistics-Descriptive';
 
 my @cmd = (
-    "svn", "copy", "-m",
+    "hg", "tag", "-m",
     "Tagging the Statistics-Descriptive release as $version",
-    "$mini_repos_base/trunk",
-    "$mini_repos_base/tags/releases/$version",
+    "releases/$version",
 );
 
 print join(" ", @cmd), "\n";