Skip to content

Commit

Permalink
Update script to handle new version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
gudmdharalds committed May 3, 2021
1 parent 2cb1d4f commit b057081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion latest-release.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

if (
( ! isset( $resp_data[0]->tag_name ) ) ||
( ! is_numeric( $resp_data[0]->tag_name ) )
( ! preg_match('/^(\d+\.)?(\d+\.)?(\*|\d+)$/', $resp_data[0]->tag_name ) )
) {
exit( 255 );
}
Expand Down

0 comments on commit b057081

Please sign in to comment.