Skip to content
Permalink
Browse files

chore: print markdown links in release notes script

  • Loading branch information
vlsi committed Nov 3, 2015
1 parent 000e48e commit a5b8ea7460392b6e1fd0bc9f79ca5975b6cf8625
Showing with 8 additions and 3 deletions.
  1. +8 −3 release_notes_filter.pl
@@ -16,10 +16,15 @@

my $pr = '';
if ($body =~ /(?:fix|fixes|close|closes) *#?(\d+)/) {
$pr = ' PR #'.$1;
$pr = $1;
}
if ($pr == '' && $mergeSubject =~ /Merge pull request #(\d+)/) {
$pr = ' PR #'.$1;
$pr = $1;
}
print $subject.$pr." (".$shortSha.")\n";
if ($pr != '') {
$pr = ' [PR#'.$pr.'](https://github.com/pgjdbc/pgjdbc/pull/'.$pr.')';
}
$subject =~ s/^\s+/* /;

print $subject.$pr." [".$shortSha."](https://github.com/pgjdbc/pgjdbc/commit/$sha)\n";
}

0 comments on commit a5b8ea7

Please sign in to comment.
You can’t perform that action at this time.