osm-teams
osm-teams copied to clipboard
Auto-update API docs version on develop branch
In release v2.1.0 we merged develop to main without updating API docs version in next-swagger-doc.json. It is easy to forget to update that file, so I suggest we add a Github Action step to update it automatically. The algorithm would be something like this:
- on commit to
developbranch - run
yarn docs:validate(this task auto-updatenext-swagger-doc.jsonwithpackage.jsonversion) - commit file
next-swagger-doc.jsonif changed
cc @kamicut @batpad