Merge pull request #1837 from eclipse/cd_rc1rc2

support RC1 and RC2 too
This commit is contained in:
Christian Dietrich 2022-02-21 13:13:12 +01:00 committed by GitHub
commit 01604503c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ import org.junit.Test;
* @author dhuebner - Initial contribution and API
*/
public class XtextVersionTests {
private static Pattern VERSION_MATCHER = Pattern.compile("\\d\\.\\d+\\.\\d+(?:(-SNAPSHOT)|(\\.M\\d)|(\\.Beta\\d?))?");
private static Pattern VERSION_MATCHER = Pattern.compile("\\d\\.\\d+\\.\\d+(?:(-SNAPSHOT)|(\\.M\\d)|(\\.Beta\\d?)|(\\.RC\\d?))?");
@Test
public void testVersionKinds() {