Skip to content

Commit

Permalink
Item14233: Report extensions that will need upload after release
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Nov 28, 2016
1 parent ab59747 commit 89f893f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions core/tools/check_extensions.pl
Expand Up @@ -22,6 +22,8 @@
chomp $start;
print "checking for changes since $start\n";

my @changed;

# Prints some "helpful" messages
sub help {
print <<"END";
Expand Down Expand Up @@ -63,10 +65,14 @@ END

foreach my $ext ( sort @extensions ) {
chomp $ext;
print "\n========== $ext ============\n";
my @itemlist;
my $gitlog = `git log --oneline $start..HEAD $ext`;
next
unless
$gitlog; # Comment this to get verbose report of unmodified extensions.
print "\n========== $ext ============\n";
if ($gitlog) {
push @changed, $ext;
@itemlist = $gitlog =~ m/(Item\d+):/g;
my $topicText = get_ext_topic($ext);
my $last = '';
Expand Down Expand Up @@ -102,7 +108,9 @@ END
}
}

chdir $root;
print "\n\nChanged extensions: " . join( ', ', @changed ) . "\n";

#chdir $root;

# Search the current working directory and its parents
# for a directory called like the first parameter
Expand Down

0 comments on commit 89f893f

Please sign in to comment.