OpenEnergyPlatform / oemetadata

Repository for the Open Energy Family metadata. Contains metadata templates, examples and schemas. For metadata conversion see https://github.com/OpenEnergyPlatform/omi
https://openenergyplatform.github.io/oemetadata/
MIT License
21 stars 3 forks source link

Context field in metadata/<version>/ always links to oemetadata/develop/metadata/latest/context.json #135

Open jh-RLI opened 1 year ago

jh-RLI commented 1 year ago

Description of the issue

In all example.json files for each release we link to the context.json file that is in latest: https://raw.githubusercontent.com/OpenEnergyPlatform/oemetadata/develop/metadata/latest/context.json

Steps to Reproduce

https://github.com/OpenEnergyPlatform/oemetadata/blob/cc4ebffbcec096f642c30432c70afc7f2e6fbdd2/metadata/v160/example.json#L390

Ideas of solution

We should link to the context file that is related to the current release.

Context and Environment

Workflow checklist

chrwm commented 1 year ago

We should link to the context file that is related to the current release.

For the released versions this could be changed. For future releases, the link should be changed in a commit during the release, as the OEMetadata version folder is currently only created with the release if I'm not mistaken.

jh-RLI commented 1 year ago