Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.04 KB

File metadata and controls

46 lines (29 loc) · 1.04 KB

How to prepare a new release

  • Update the version number in the following files:

    • pyproject.toml

    • litebird_sim/version.py

    • docs/source/conf.py

    • CHANGELOG.md (be sure to leave an empty HEAD title at the top);

    Commit all the changes to master.

  • If the supported versions for Python changed, be sure to change the chapter “Installation” in the documentation.

  • Build the release:

    uv build
    
  • Upload the package to PyPI:

    uv publish
    
  • Create a new tag and push it to GitHub:

    git tag -a vX.Y.Z -m "Version X.Y.Z"
    git push origin vX.Y.Z
    
  • Open the page https://github.com/litebird/litebird_sim/releases and create a new release from the tag you have just created.

  • Use the script prepare_release_email.py to automatically produce the text of an email containing the release notes:

    $ python3 prepare_release_email.py | xclip -selection clipboard
    

    and send this text to the LiteBIRD JSGs.