mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17324] Allow targeting events to prep-releases
PHPBB3-17324
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user