pydatastructs
pydatastructs copied to clipboard
Versioning Tool/Script
Description of the problem
We need a tool/script that can update version number everywhere in the project by executing a single command. Following are the constraints,
- We decide the version numbers manually.
- We want to update to a new version number by executing a single command.
- The way to do it should be simple - Say,
some-tool 1.0.1-dev 1.0.1-alpha
.
Example of the problem
References/Other comments
cc: @HarshCasper
What does everywhere mean to be more specific? By command grep 1.0.1-dev -r ./pydatastructs
I can see a lot of positions with 1.0.1-dev
. Do I need to change all these texts with 1.0.1-dev
to 1.0.1-alpha
for example?
The above is just an example. We will be releasing 6 months later (at the earliest), so we need to decide upon a tool that can update the version number everywhere in one go.
By everywhere I mean, where 1.0.1-dev
is present inside the project (README, code, documentation source) should be updated to say, 1.0.1-alpha
and so on.
Make sense. I'll work on it.