CiscoDevNet/catalystwan

generate ENDPOINTS.md only for release

Closed this issue · 0 comments

Description

Currently endpoints-md pre-commit step generates ENDPOINTS.md on each commit.
This is annoying when merging PR / rebasing
endpoints-md.py should have flag --only-check and used in that way in pre-commit step.
ENDPOINTS.md should be generated together with version bump in pyproject.toml (by manual action when tagging new release)