Summary
Automate updating the GitVersion JSON schema entry on SchemaStore/schemastore whenever a new GitVersion version with a new schema is released, following the pattern of SchemaStore/schemastore#5485.
Currently this update is done manually after each release that ships a new schema version. It should be automated instead.
What the SchemaStore PR does
For a new version X.Y, it:
- Adds
"X.Y": "https://gitversion.net/schemas/X.Y/GitVersion.configuration.json" to the versions map for the GitVersion entry in src/api/json/catalog.json.
- Bumps the top-level
"url" for that entry to point at the new X.Y schema.
- Updates the
$ref in src/schemas/json/gitversion.json to point at the new X.Y schema URL.
Acceptance criteria
Summary
Automate updating the GitVersion JSON schema entry on SchemaStore/schemastore whenever a new GitVersion version with a new schema is released, following the pattern of SchemaStore/schemastore#5485.
Currently this update is done manually after each release that ships a new schema version. It should be automated instead.
What the SchemaStore PR does
For a new version
X.Y, it:"X.Y": "https://gitversion.net/schemas/X.Y/GitVersion.configuration.json"to theversionsmap for the GitVersion entry insrc/api/json/catalog.json."url"for that entry to point at the newX.Yschema.$refinsrc/schemas/json/gitversion.jsonto point at the newX.Yschema URL.Acceptance criteria
SchemaStore/schemastoreupdatingcatalog.jsonandgitversion.jsonfor the new version, without manual intervention.