[Contribution Request] `bump2version` Setup
kevinmatthes opened this issue · 1 comments
According to the contribution guidelines for contributions of type three (changes to the code base), I would like to discuss an enhancement I would like to introduce as a Pull Request.
bump2version
is a free and open source Python 3-CLI licensed MIT in order to update hard coded version numbers in a code base. The CFF main repository already employs this CLI in order to update its version numbers. I would like to submit a working configuration file in order to set it up for this repository, as well.
The main repository has fewer occurrences of hard coded version numbers than this repository. According to git grep '2\.0\.0'
, here, there are ten files to update for each new version. Hence, an automation would enhance and simplify the maintenance workflow.
Furthermore, the automated version increment can be combined with an automatic CHANGELOG compilation by Scriv, as in this example. I am going to raise a separate issue related to Scriv.
References
- Druskat, S., Spaaks, J. H., Chue Hong, N., Haines, R., Baker, J., Bliven, S., Willighagen, E., Pérez-Suárez, D., & Konovalov, A. (2021). Citation File Format (Version 1.2.0) [Computer software]. https://doi.org/10.5281/zenodo.5171937
- Matthes, K. (2022). git-aliases-f18 (Version 0.1.1) [Computer software]. https://github.com/kevinmatthes/git-aliases-f18
- Verkerk, C., & The bump2version Community. (2020). bump2version (Version 1.0.2-dev) [Computer software]. https://github.com/c4urself/bump2version
As bump2version is unmaintained, this issue has become obsolete; c4urself/bump2version#268.