Skip to content

Release version from working branch #211

@AnumSheraz

Description

@AnumSheraz

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions