Skip to content

Commit

Permalink
Update stable tag pattern in verify-version-consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Jan 26, 2021
1 parent 83634c9 commit 337806c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/verify-version-consistency.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
$versions = [];

$readme_md = file_get_contents( dirname( __FILE__ ) . '/../README.md' );
if ( ! preg_match( '/Stable tag:\s+(?P<version>\S+)/i', $readme_md, $matches ) ) {
if ( ! preg_match( '/\*\*Stable tag:\*\*\s+(?P<version>\S+)/i', $readme_md, $matches ) ) {
echo "Could not find stable tag in readme\n";
exit( 1 );
}
Expand Down

0 comments on commit 337806c

Please sign in to comment.