1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/17324] Allow targeting events to prep-releases

PHPBB3-17324
This commit is contained in:
rxu
2024-05-28 21:15:31 +07:00
committed by Marc Alexander
parent a88040df85
commit 9ea4aabe9a
2 changed files with 3 additions and 3 deletions

View File

@@ -489,7 +489,7 @@ class md_exporter
*/
public function validate_version($version)
{
return preg_match('#^\d+\.\d+\.\d+(?:-(?:a|b|RC|pl)\d+)?$#', $version);
return preg_match('#^\d+\.\d+\.\d+(?:-(?:a|b|RC|pl)\d+|(?:-prep-release))?$#', $version);
}
/**