Development

While not strictly required we assume that you installed:

in the description below.

Test

Before you run the tests (on Linux and macOS) please make sure that you installed h5dump. After that use the following command:

just test

Release

Note: Please replace <VERSION> with the version number e.g. 1.9.0 in the text below

To release a new version of ICOlyzer, please use the following steps:

  1. Switch to the main branch

    git switch main
    
  2. Check that the CI jobs for the main branch finish successfully

  3. Change the version number and commit your changes:

    just release <VERSION>
    

    Note: GitHub Actions will publish a package based on the tagged commit and upload it to PyPi.

  4. Publish your release on GitHub:

    gh release create
    
    1. Choose the tag for the latest release

    2. As title use “Version <VERSION>”, e.g. “Version 1.9.0”

    3. Choose “Write my own”

    4. Paste the release notes for the latest version into the text editor window

    5. Save and close the text file

    6. Answer “N” to the question “Is this a prerelease?”