Skip to content

Release procedure

Adam R. Jensen edited this page Mar 21, 2025 · 5 revisions

This wiki contains notes on how to release a new version of the twoaxistracking package.

Step 1. Finalize pull request:

  • Update the whatsnew file
    • Add/edit release date and version
    • Check that all links and references render correctly
  • Merge the pull request

Step 2. Make release tag to upload the new version to PyPI

  • Create a git tag e.g., v0.2.1. The title is the version name and has to start with "v" for the workflow to be activated.
  • The description of the tag should be a link to the whatsnew file for the specific release, e.g., https://twoaxistracking.readthedocs.io/en/v0.2.1/whatsnew.html
  • To make a pre-release use a pre-release tag such as "v0.2.6-alpha.1". Remember to change the tick-box at the bottom to "Set as a pre-release".
  • Once the tag has been created, GitHub actions will build the package and push it to PyPI.
  • Check that the GitHub action was successfully completed
  • Verify that everything was successful by pip installing the package
Clone this wiki locally