Skip to content

Request: add an option to force tag replacement #846

@pluce

Description

@pluce

Maybe my use-case is weird but I often need to re-apply standard-version changelog generation when crafting my release, for many reasons: last minute bug fixes, forgotten pull requests, etc.

My workflow is:

  • using standard-version to bump version, generate changelog, commit the file, add tag
  • hell ! I forgot
  • merge PR / commit any content
  • "fix" the release with standard-version

The problem appears on the last step, as I'd like to use standard-version --skip.bump to just update the Changelog without creating a new version, but it fails on the tagging step because tag already exists. I may not use --skip.tag because I do want the tag to be updated to the latest commit.

That's why I'd like to have an option that allows me to move the existing version tag to the latest commit.

PR incoming !

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