Skip to content

Commit 6081c15

Browse files
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.
1 parent 7a32148 commit 6081c15

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/artifact.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/master/docs/artifact.schema.json",
2+
"$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/artifact.schema.json",
33
"type": "object",
44
"properties": {
55
"id": {

docs/vcpkg-configuration.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/master/docs/vcpkg-configuration.schema.json",
2+
"$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-configuration.schema.json",
33
"type": "object",
44
"properties": {
55
"default-registry": {

docs/vcpkg-schema-definitions.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema",
3-
"$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/master/docs/vcpkg-schema-definitions.schema.json",
3+
"$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-schema-definitions.schema.json",
44
"definitions": {
55
"artifact-references": {
66
"description": "A key/value pair of artifact name to selected artifact version.",

docs/vcpkg.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema",
3-
"$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/master/docs/vcpkg.schema.json",
3+
"$id": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
44
"type": "object",
55
"allOf": [
66
{

0 commit comments

Comments
 (0)