Before merging the branch https://github.com/metno/mmd/tree/issue128-199-276-330 a new workflow should be added.
The steps are:
- when any of the below has changed
- thesauri/mmd-vocablary.ttl,
- xsd/enum_mmd.xsd,
- xsd/create_enum.py
- doc/ch04-md-contrvocabs.adoc
- run xsd/create_enum.py
- push to new generated files
- xsd/enum_mmd.xsd,
- doc/ch04-md-contrvocabs.adoc
This will make sure that if auto-generated files are edited, they will be recreated and overwritten and also that when new terms are added in the vocabulary the schema and documentation will be updated.
Before merging the branch https://github.com/metno/mmd/tree/issue128-199-276-330 a new workflow should be added.
The steps are:
This will make sure that if auto-generated files are edited, they will be recreated and overwritten and also that when new terms are added in the vocabulary the schema and documentation will be updated.