Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How I can reset semver on existing repository? #821

Open
Jazastry opened this issue May 22, 2024 · 0 comments
Open

How I can reset semver on existing repository? #821

Jazastry opened this issue May 22, 2024 · 0 comments

Comments

@Jazastry
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant