Skip to content

[Improvement] Don't consider tag-prefix as optional #3216

Closed
@AlexPykavy

Description

@AlexPykavy

Detailed Description

Currently tag-prefix is always considered as optional which makes calculation of the next version incorrect. It mixes prefixed and unprefixed versions and takes the largest of both.

Context

To correctly calculate the next version with the prefix. For example, we develop the main product and some its plugin in the same repository and have the following git tags list:

  • 0.1.0
  • 0.1.1
  • 0.2.0
  • 0.2.1
  • plugin_0.1.0
  • plugin_0.1.1
    The expected next plugin version is 0.1.2 not 0.2.2 (plugin_ prefix will be prepended before setting the tag).

Possible Implementation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions