bumpversion icon indicating copy to clipboard operation
bumpversion copied to clipboard

Release version from working branch

Open AnumSheraz opened this issue 5 years ago • 0 comments

We can add release prefixes e.g. dev, aplha, beta etc on the .cfg file. But let's say I want to release from one of my working development branch APL-22, I want the release step to pick up my current branch name and generate version as follows 0.0.3-APL-22-alpha1. Where 0.0.3 is the last release tag, APL-22 is the branch name and alpha1 is the first alpha release from this branch.

If I've to release again from same branch, the next tag would be 0.0.3-APL-22-alpha2 and so on. Is this feature supported ? if yes, how would the bumpversion.cfg file look like ?

AnumSheraz avatar Jun 23 '20 13:06 AnumSheraz