helmholtz-analytics / heat

Distributed tensors and Machine Learning framework with GPU and MPI acceleration in Python
https://heat.readthedocs.io/
MIT License
211 stars 54 forks source link

Automate version update on `main` after release #1711

Open ClaudiaComito opened 2 weeks ago

ClaudiaComito commented 2 weeks ago

After a new release comes out, unless it's a patch release, minor in version.py needs to be bumped up on main, i.e. (from RELEASE.md):


  1. On branch main, we want to modify the version so that minor is increased by 1, and extension is "dev". In this example we want the version on main to be:1.6.0-dev. We need to create a new branch from main:

    git checkout main
    git pull
    git checkout -b workflows/update-version-main
    git branch

    On branch workflows/update-version-main, modify version.py so that minor is increased by 1, and extension is "dev". Commit and push the changes.

  2. Create a PR with main as the base branch.


We forget about this step most times.