hydromt icon indicating copy to clipboard operation
hydromt copied to clipboard

use bump2version for versioning

Open DirkEilander opened this issue 2 years ago • 1 comments

with bump2version and git actions we can automate versioning without it extra runtime.

example: https://williamhayes.medium.com/versioning-using-bumpversion-4d13c914e9b8

DirkEilander avatar Aug 04 '22 06:08 DirkEilander

edit the release guide

DirkEilander avatar Aug 04 '22 08:08 DirkEilander

bump2version hasn't seen a release since 2020 and the highest supported version that is listed is 3.8, so that one specifically is probably not a very good idea, but if there is a need for this, I'm very happy to look into alternatives

savente93 avatar Jun 16 '23 16:06 savente93

Good point. We want something that is maintained. My idea behind this issue is to have unique version numbers for each state of the main branch, also in between releases. In practice quite a few users use the latest developments, making it hard to reproduce results. This could potentially also be fixed in github workflows? Alternatively, we could release more frequently.

DirkEilander avatar Jun 30 '23 09:06 DirkEilander

We actually do, it's the commit hash! However I do think there is indeed much we could do we aliviate this problem, it's something I'd be happy to work on down the line. It's deifnitely something that could be fixed or at least improved with GHA. Let's brainstorm a bit on things we could do to improve this

savente93 avatar Jun 30 '23 15:06 savente93

We have tried several options in #455 and decided to not go ahead with this for now. I will therefore close this issue.

DirkEilander avatar Oct 18 '23 14:10 DirkEilander