Skip to content

Commit 65da001

Browse files
booksteve-m-hay
authored andcommitted
improve the GitHub link regular expression
Also, move the "add pod links" part *before* the section about checking POD. (cherry picked from commit febfc89)
1 parent e06d1b3 commit 65da001

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Porting/release_managers_guide.pod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,10 @@ For a MAINT release use something like this instead:
806806
Ideally, also fill in a summary of the major changes to each module for which
807807
an entry has been added by F<corelist-perldelta.pl>.
808808

809+
You should add pod links for GitHub issue references thusly:
810+
811+
$ 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
812+
809813
Re-read the perldelta to try to find any embarrassing typos and thinkos;
810814
remove any C<TODO> or C<XXX> flags; update the "Known Problems" section
811815
with any serious issues for which fixes are not going to happen now; and
@@ -821,10 +825,6 @@ formatting, e.g.
821825
$ ./perl -Ilib ext/Pod-Html/bin/pod2html pod/perldelta.pod > \
822826
~/perldelta.html
823827

824-
You should add pod links for GitHub issue references thusly:
825-
826-
$ 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
827-
828828
If you make changes, be sure to commit them.
829829

830830
=for checklist skip BLEAD-POINT MAINT RC

0 commit comments

Comments
 (0)