diff options
author | Nicholas Clark <nick@ccl4.org> | 2012-07-04 14:34:31 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-05-28 09:19:29 +0200 |
commit | f66c64b16575a0019715151f5e8389581cde78d5 (patch) | |
tree | 7452e57fda7581272af625ee6418ec2efe2282a6 /Porting/bisect.pl | |
parent | fbaecb459ef5196c56a406c4b1bf5afdb5802f49 (diff) | |
download | perl-f66c64b16575a0019715151f5e8389581cde78d5.tar.gz |
When bisecting, use `git tag -l` to get the list of stable releases.
Previously bisect.pl was using a hard coded list, which (obviously) will
become stale.
Also, note in the docs that we only use .0 stable releases, and why.
Diffstat (limited to 'Porting/bisect.pl')
-rwxr-xr-x | Porting/bisect.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Porting/bisect.pl b/Porting/bisect.pl index f5c401b443..0423fd3125 100755 --- a/Porting/bisect.pl +++ b/Porting/bisect.pl @@ -58,7 +58,10 @@ unshift @ARGV, '--jobs', $jobs if defined $jobs; unshift @ARGV, '--make', $make if defined $make; # We try these in this order for the start revision if none is specified. -my @stable = qw(perl-5.005 perl-5.6.0 perl-5.8.0 v5.10.0 v5.12.0 v5.14.0); +my @stable = map {chomp $_; $_} grep {/v5\.[0-9]+[02468]\.0$/} `git tag -l`; +die "git tag -l didn't seem to return any tags for stable releases" + unless @stable; +unshift @stable, qw(perl-5.005 perl-5.6.0 perl-5.8.0); { my ($dev_C, $ino_C) = stat 'Configure'; |