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:
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.
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
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!
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:
What is the right way to do recreate the versioning on an existing repository without tags? Thank you!