Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow --no-tag to overwrite --commit #949

Open
@beatreichenbach

Description

@beatreichenbach

Description

This is related to the command semantic-release version:

I would like to run semantic-release without tags for this use case where another process creates a tag.
However as described in the documentation --no-tag doesn't apply to the --commit step.

Is there a reason that --no-tag only applies to the tagging step?
Would it be possible for --no-tag to also apply to the --commit step?

Use cases

With the current setup running --commit makes --tag/--no-tag useless as it will never create a tag different from the tag that is created by --commit, is that right? If that's the case, then there shouldn't be anything in the way for us to set it up so that --no-tag also applies to the tag created by --commit.

Possible implementation

I'd be happy of course to create a PR but wanted to check with what you all think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmedPrevent from becoming stalefeatureA new feature or a feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions