Skip to content

Commit febfc89

Browse files
committed
improve the GitHub link regular expression
Also, move the "add pod links" part *before* the section about checking POD.
1 parent ba7a409 commit febfc89

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Porting/release_managers_guide.pod

+4-4
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,10 @@ For a MAINT release use something like this instead:
799799
Ideally, also fill in a summary of the major changes to each module for which
800800
an entry has been added by F<corelist-perldelta.pl>.
801801

802+
You should add pod links for GitHub issue references thusly:
803+
804+
$ perl -p -i -e'BEGIN{undef $/}; s{(?:GH|github)\s*#(\d+)}{L<GH #$1|https://github.com/Perl/perl5/issues/$2>}img' pod/perldelta.pod
805+
802806
Re-read the perldelta to try to find any embarrassing typos and thinkos;
803807
remove any C<TODO> or C<XXX> flags; update the "Known Problems" section
804808
with any serious issues for which fixes are not going to happen now; and
@@ -814,10 +818,6 @@ formatting, e.g.
814818
$ ./perl -Ilib ext/Pod-Html/bin/pod2html pod/perldelta.pod > \
815819
~/perldelta.html
816820

817-
You should add pod links for GitHub issue references thusly:
818-
819-
$ perl -p -i -e'BEGIN{undef $/}; s{((?:GH|github)\s*#)(\d+)}{L<$1$2|https://github.com/Perl/perl5/issues/$2>}img' pod/perldelta.pod
820-
821821
If you make changes, be sure to commit them.
822822

823823
=for checklist skip BLEAD-POINT MAINT RC

0 commit comments

Comments
 (0)