catalyst / catalyst-moodle-workflows

4 stars 9 forks source link

Force that supported -> [x, y] is set in version.php #37

Open brendanheywood opened 2 years ago

keevan commented 2 years ago

Docs updated to reflect this, but if we want to enforce it then it should throw an error/exception during the parsing which happens at around here:

https://github.com/catalyst/catalyst-moodle-workflows/blob/v2-with-release-and-docs/.github/actions/parse-version/script.php#L71

And available from this line onwards:

https://github.com/catalyst/catalyst-moodle-workflows/blob/v2-with-release-and-docs/.github/actions/parse-version/script.php#L51-L53