Skip to content

Commit a927030

Browse files
committed
Support point releases
Changes the match pattern a bit so that it will match point release versions also.
1 parent 031cf5d commit a927030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/Undersightable.p6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ method check-version-mentions() {
246246
my $last-tag = self.get-tags(2009-02-01, :default(), repo => ./data/rakudo-moar).tail;
247247
my $resp = get $url;
248248
with $resp {
249-
if await($resp.body).match: / ‘#’\d+ \s ‘"’$last-tag‘"’ / {
249+
if await($resp.body).match: / [‘#’\d+ \s]? ‘"’$last-tag‘"’ / {
250250
take | $url | {.status} | $last-tag release is mentioned | ;
251251
} else {
252252
take | $url | {.status} | **☠ No mention of $last-tag release found** | does Error;

0 commit comments

Comments
 (0)