Merge branch 'devops_cyy_version' into 'master'
修改分支版本判断 See merge request easycorp/zentaopms!1864
This commit is contained in:
@@ -226,7 +226,7 @@ class scm
|
||||
*/
|
||||
public static function checkRevision($revision)
|
||||
{
|
||||
if(preg_match('/[^a-z0-9\-\^]/i', $revision)) return false;
|
||||
if(preg_match('/[^a-z0-9\-_\.\^]/i', $revision)) return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user