From d34d6105705dafdb331be6cdc7f50700c594d613 Mon Sep 17 00:00:00 2001 From: linsui Date: Fri, 2 Jun 2023 13:28:57 +0800 Subject: [PATCH] schema: ArchivePolicy is a integer now --- schemas/metadata.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/schemas/metadata.json b/schemas/metadata.json index 910fd3687b..937b817fa6 100644 --- a/schemas/metadata.json +++ b/schemas/metadata.json @@ -549,9 +549,8 @@ "type": "boolean" }, "ArchivePolicy": { - "description": "This determines the policy for moving old versions of an app to the archive repo, if one is configured. Currently the only supported format is “n versions”, where n is the number of versions to keep. Defaults to “3 versions”.", - "type": "string", - "pattern": "^[0-9]+ versions$" + "description": "This determines the number of versions to keep. The older versions of the app are moved to the archive repo, if one is configured. Defaults to 3.", + "type": "integer" }, "AutoUpdateMode": { "description": "This determines the method used for auto-generating new builds when new releases are available - in other words, adding a new Build Version line to the metadata.",