Skip to content

Allow skipping tags when calculating the next version #91

@markbrockhoff

Description

@markbrockhoff

Hi, first of all thanks for this cool project.

I have a somewhat specific usecase where I would need to ignore some tags following a pattern when calculating the next version.
My approach would be to add build metadata to those commits so that they can be ignored later.

Example:
image
With this git log I would like to be able to run autotag and ignore the commits with meta so the next version in this example would be "v0.1.0".

My idea would be to add a "--ignore" option ("-i" for short) which allows specifying a pattern like "*meta*" to match the tag name against.

What do you think of it, would this be possible?
Thanks in advance :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions