diff --git a/appveyor.yml b/appveyor.yml index fe19deff31..225d3943c8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,7 +6,7 @@ branches: build: off deploy: off -clone_depth: 50 +clone_depth: 49 image: - Visual Studio 2017 @@ -17,7 +17,7 @@ environment: - PowerShell: 6 cache: - # - '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> appveyor.yml' + - '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> appveyor.yml' matrix: fast_finish: true diff --git a/bin/checkver.ps1 b/bin/checkver.ps1 index abc82f5864..3d7e98e997 100644 --- a/bin/checkver.ps1 +++ b/bin/checkver.ps1 @@ -79,6 +79,9 @@ $queue | ForEach-Object { if($json.checkver.re) { $regex = $json.checkver.re } + if($json.checkver.regex) { + $regex = $json.checkver.regex + } if($json.checkver.jp) { $jsonpath = $json.checkver.jp diff --git a/schema.json b/schema.json index 8037879c8a..548dbb6230 100644 --- a/schema.json +++ b/schema.json @@ -203,6 +203,11 @@ "type": "string" }, "re": { + "format": "regex", + "type": "string", + "description": "Same as 'regex'" + }, + "regex": { "format": "regex", "type": "string" },