Uh oh!
There was an error while loading. Please reload this page.
[new] scripts/update-schema-id.sh - #3814
Conversation
This script updates the schema IDs in the following YAML files:
- schemas/v{major}.{minor}/schema.yaml
- schemas/v{major}.{minor}/schema-base.yaml
and generates the following JSON files from the updated YAML files:
- schemas/v{major}.{minor}/schema.json
- schemas/v{major}.{minor}/schema-base.json
ralfhandl
left a comment
There was a problem hiding this comment.
Ran the script with -v 3.1 and it worked fine.
Running with -v 3.0 showed problems:
- schema.yaml was not updated
- schema-base.yaml was created empty
- schema-base.json was created with content
null
ralfhandl
commented
May 24, 2024
Thanks for providing the script. The script works fine for the v3.1 case with separate Would you mind adding this distinction to the scripts? Thanks in advance! |
TakahikoKawasaki
commented
Jun 9, 2024
If it is necessary to support versions older than 3.0, please let me know. |
miqui
commented
Jun 9, 2024
@ralfhandl script so far looks good to me, but I'll let you run with it. |
ralfhandl
left a comment
There was a problem hiding this comment.
Works for both v3.1 and v3.0
karenetheridge
commented
Jun 20, 2024
I see you're using |
TakahikoKawasaki
commented
Jul 1, 2024
@karenetheridge Sorry, I did not know the |
lornajane
commented
Oct 31, 2024
I'm closing this pull request since it's no longer needed since the recent changes to the schema publishing process. |
This script updates the schema IDs in the following YAML files:
and generates the following JSON files from the updated YAML files: