Skip to content

Automatically tag and push prod wheels, place current version in __init__.py and add CI job for testing version

Mateusz Żebrak requested to merge mzebrak/test-importing into develop

Updated CI to automatically tag and push wheel on develop and master branches.

Overall: every version includes a short sha -> e.g.: wax-0.0.1a0.post2+a3d9a9f-cp310-cp310-manylinux_2_35_x86_64.whl

Reference for poetry version command: https://python-poetry.org/docs/cli/#version

When CI is running on develop branch, the poetry version prerelease is ran, e.g.:

  • When there was 0.0.1 -> 0.0.2a0 is tagged
  • When there was 0.0.2a0 -> 0.0.2a1 is tagged

When CI is running on master branch, the patch version is increased - poetry version patch is ran, e.g:

  • When there was 0.0.2a1 -> 0.0.2 is tagged
  • When there was 0.0.2 -> 0.0.3 is tagged

Additionaly, everyone can manually run the deploy_feature_branch job, which will build and push wheel (without tagging), e.g:

  • When there was 0.0.1a0 and 2 new commits were added -> 0.0.1a0.post2 is pushed to the syncad.gitlab.com PyPI repo.
Edited by Mateusz Żebrak

Merge request reports