OpenEnergyPlatform / open-MaStR

A collaborative software to download the energy database Marktstammdatenregister (MaStR)
https://open-mastr.readthedocs.io/en/latest/
GNU Affero General Public License v3.0
87 stars 19 forks source link

Feature 406 bump2version #407

Closed deniztepe closed 1 year ago

deniztepe commented 1 year ago

bump2version allows for version increment in the selected files with respect to semantic versioning, which is configured in .bumpversion.cfg . It basically looks for the match of current version and replaces it with the new version number.This resolves the versioning in setup.py, ci-production-yml, CITATION.cff and is extendable for other files. The feature must be tested manually, since no unit test exists. We should also test the release procedure at the next release.

Few examples which can be run locally:

Note: The tool also requires an up-to-date git repo without uncommited changes. Resolves #382, #406