Currently any new push to the main branch will trigger a build workflow which will upload package to pypi.
The better way is to start this build when a version is modified in addition to the push.
I added here a single source of truth file with package version. This will trigger build a release job when a version is modified in the file after the push.
Currently any new push to the main branch will trigger a build workflow which will upload package to pypi.
The better way is to start this build when a version is modified in addition to the push.
I added here a single source of truth file with package version. This will trigger build a release job when a version is modified in the file after the push.