From 6081c157635b264447e696f5864e75711a2e6f5b Mon Sep 17 00:00:00 2001 From: mathis-west-1 Date: Mon, 6 May 2024 19:23:49 +0200 Subject: [PATCH] Use correct branch name in json schema ids (#1402) The `$id` fields in all JSON schemas were wrongly referring to a non-existent `master` branch. This isn't too bad because GitHub has some magic to fall back to the default branch when non-existent `master` branches are requested, but it is still incorrect. Fix it. --- docs/artifact.schema.json | 2 +- docs/vcpkg-configuration.schema.json | 2 +- docs/vcpkg-schema-definitions.schema.json | 2 +- docs/vcpkg.schema.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/artifact.schema.json b/docs/artifact.schema.json index 32bb4711a6..90718e0752 100644 --- a/docs/artifact.schema.json +++ b/docs/artifact.schema.json @@ -1,5 +1,5 @@ { - "$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/master/docs/artifact.schema.json", + "$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/artifact.schema.json", "type": "object", "properties": { "id": { diff --git a/docs/vcpkg-configuration.schema.json b/docs/vcpkg-configuration.schema.json index c33efde596..f376ea812d 100644 --- a/docs/vcpkg-configuration.schema.json +++ b/docs/vcpkg-configuration.schema.json @@ -1,5 +1,5 @@ { - "$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/master/docs/vcpkg-configuration.schema.json", + "$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-configuration.schema.json", "type": "object", "properties": { "default-registry": { diff --git a/docs/vcpkg-schema-definitions.schema.json b/docs/vcpkg-schema-definitions.schema.json index 0a1017ce26..08e34433bb 100644 --- a/docs/vcpkg-schema-definitions.schema.json +++ b/docs/vcpkg-schema-definitions.schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/master/docs/vcpkg-schema-definitions.schema.json", + "$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-schema-definitions.schema.json", "definitions": { "artifact-references": { "description": "A key/value pair of artifact name to selected artifact version.", diff --git a/docs/vcpkg.schema.json b/docs/vcpkg.schema.json index 0d32d81484..8b27e90081 100644 --- a/docs/vcpkg.schema.json +++ b/docs/vcpkg.schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema", - "$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/master/docs/vcpkg.schema.json", + "$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "type": "object", "allOf": [ {