Skip to content

How I can reset semver on existing repository? #821

@Jazastry

Description

@Jazastry

We have a private nx monorepo with semver. It worked for some time then I had the "Error: Failed to tag "...", this tag already exists". I removed the latest tag, then the error showed the previous tag ... and so on. Finaly, I removed all the tags from the remote. So now I'm trying to "restart" the semver and make it work again.

What I tried all of this in the CI GitHub actions and locally with the same result:

  1. I tried to create manually tags for every project in the monorepo from a single commit in the base branch
    • After running the task I had the same error.
  2. I tried to run the version task for all projects without tags in the repo
    • First it created the initial tags (0.0.0)
    • And on the next version task run I had the same error
  3. I tried to create tags from the last version update commit for every project in the monorepo
    • I had the same error

What is the right way to do recreate the versioning on an existing repository without tags?
Thank you!

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