From 5e492aaaf8cc2518d960abeb7490d7b2205a5662 Mon Sep 17 00:00:00 2001 From: sean conroy Date: Mon, 4 Nov 2024 14:26:15 +0000 Subject: [PATCH] fix: update `releaseNotes.product_version` regex pattern (#668) This fix updates the releaseNotes.product_version regex pattern to correctly support all required version formats. Signed-off-by: Sean Conroy --- schema/dataKeys.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/dataKeys.json b/schema/dataKeys.json index 8f737ee81..21fe34933 100644 --- a/schema/dataKeys.json +++ b/schema/dataKeys.json @@ -114,7 +114,7 @@ "product_version": { "type": "string", "description": "The product version e.g v1.0.0", - "pattern": "^(fbc|[vV]?(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)|[vV]?(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)|[vV]?(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*) ([Aa]lpha|[Bb]eta|fast|tech preview)|[vV]?(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*) ([Aa]lpha|[Bb]eta|fast|tech preview))$" + "pattern": "^(fbc[-]|[vV])?(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)(?:\\.(?:0|[1-9]\\d*))?([-\\s]?([Aa]lpha|[Bb]eta|fast|tech[-\\s]preview)?)$" }, "product_stream": { "type": "string",