Updated the pipeline to automatically trigger a release upon a version being bumped in either nachet_pyproject.toml or fertiscan_pyproject.toml instead of detecting files changes.
I want to specify that version bumped check is only being triggered when changes are made to either fertiscan, nachet or datastore folder. I did it this way since making modifications in anny other file/folder doesnt impact the packages annd should not trigger necessarly a release. For example : https://github.com/ai-cfia/ailab-datastore/pull/178. It wasnt expected to trigger a release since changes aren't made to packages.
At least now if version is bumped then the release creation gets trigger. It should handle edge cases like #178.
Updated the pipeline to automatically trigger a release upon a version being bumped in either nachet_pyproject.toml or fertiscan_pyproject.toml instead of detecting files changes.
I want to specify that version bumped check is only being triggered when changes are made to either fertiscan, nachet or datastore folder. I did it this way since making modifications in anny other file/folder doesnt impact the packages annd should not trigger necessarly a release. For example : https://github.com/ai-cfia/ailab-datastore/pull/178. It wasnt expected to trigger a release since changes aren't made to packages.
At least now if version is bumped then the release creation gets trigger. It should handle edge cases like #178.