Skip to content

Unclear how to release a patch of an old version #861

Closed
@silverjam

Description

@silverjam

I wasn't able to find a forum for general questions, so if there's a better place to ask general support questions... please let me know.

That said, I am trying to understand how we would configure python-semantic-release to enable us to release a patch version or hotfix of an old version. In our code base we have versions like 0.2.11 and 0.15.12 -- if we currently have 0.2.11 pushed to a production environment and need to release a patch (or hotfix) version (for example 0.2.12 or 0.2.12-hotfix.1 if attempting a "prerelease") when using python-semantic-version it seems to want the next release to be 0.15.13.

In this scenario we've created a branch from an old version of our main branch where the last tagged version is 0.2.11 -- so the "next" release we'd expect is 0.2.12 or 0.2.12-hotfix.1.

Is there a pattern or path where we could implement our expected behavior? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working properlyconfirmedPrevent from becoming stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions