Skip to content

DBSClient CI CD

Yuyi Guo edited this page Dec 22, 2021 · 4 revisions

DBSClient version naming convention

Pypi only accepts version names with dots/"." separated numerical numbers. So DBSClient has a naming conversion that fulfils pypi requirement. We set the test versions as 0.n.m and production ones 4.x.y, where n, m, x and y may be any numerical numbers.

When a new tag formatted as 0.n.m created in github, CI/CD will automatically build a DBSClient package and upload it to test pypi. Because pypi repository does not reuse any versions were once in the repo, even the version was deleted from the repo. We suggest that one does the all tests on test pypi. Once all tests pass, then create a production tag 4.x.y in github. This action will trigger a build and upload to pypi repo.

Clone this wiki locally