From 57e3bc4f63fa580894d0c4c38ab29d9ae7666c11 Mon Sep 17 00:00:00 2001 From: Vadim Gubaidulin Date: Fri, 6 Mar 2026 18:07:52 +0100 Subject: [PATCH] Update CONTRIBUTING.md with PyPi release steps Added instructions for releasing a new version on PyPi. --- CONTRIBUTING.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d6374747..c8618d1a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,24 @@ If manual intervention is required, please follow the instructions provided by t - Include a description of your changes and reference the relevant issue. - Ensure your code follows the project’s style and passes all tests. - A maintainer will review your PR and may suggest changes. +#### Releasing a new version on PyPi +1. Create a branch for a release +2. Set the version in pyaml/__init__.py: + +``` +__title__ = "pyAML" +__description__ = "Python Accelerator Middle Layer" +__url__ = "https://github.com/python-accelerator-middle-layer/pyaml" +__version__ = "0.2.4" +__author__ = "pyAML collaboration" +__author_email__ = "" +``` +3. Provide a list of changes and release description in the merge request. Justify a version bump is necessary. +4. Approve and merge the PR + +5. Then tag to the corresponding version. +6. CI/CD will take care of PyPi release. (Make sure the version in CI/CD deployment pipeline matches the one you just tagged.) ### 4. Documentation - **Improving Docs:** Fix typos, clarify instructions, or add missing documentation. Submit a PR as you would for code changes. - **Website:** Our project website is at [python-accelerator-middle-layer.github.io](https://python-accelerator-middle-layer.github.io/).