-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Currently, a GitHub action to push ExplainaBoard to PyPI is triggered on push commit to main if some change is maded in version.py (regardless of version change). This approach is not reliable because it is possible to add comments or more code to version.py. In fact, #415 added docstrng to version.py which accidentally triggered the CI, and CI failed because the version didn't change.
It is better to configure the CI not to get triggered accidentally. For example, it is possible to trigger the CI on pushing a tag (e.g., v0.12) to this repository rather than on pushing a commit to main. (NOTE: Whether to create release branches or not is a separate topic). Process to bump the version in version.py, and push tags need to be automated to avoid mistakes.