pydatastructs icon indicating copy to clipboard operation
pydatastructs copied to clipboard

Versioning Tool/Script

Open czgdp1807 opened this issue 3 years ago • 4 comments

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,

  1. We decide the version numbers manually.
  2. We want to update to a new version number by executing a single command.
  3. 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

czgdp1807 avatar Dec 01 '21 09:12 czgdp1807

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?

youknowqyh avatar Dec 15 '21 18:12 youknowqyh

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.

czgdp1807 avatar Dec 15 '21 18:12 czgdp1807

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.

czgdp1807 avatar Dec 15 '21 18:12 czgdp1807

Make sense. I'll work on it.

youknowqyh avatar Dec 15 '21 18:12 youknowqyh