Skip to content

Release group error. #30704

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

Open
AllanTyson79 opened this issue Apr 13, 2025 · 1 comment
Open

Release group error. #30704

AllanTyson79 opened this issue Apr 13, 2025 · 1 comment

Comments

@AllanTyson79
Copy link

I am attempting to learn how to create releases. I continue to get the following error.

"NX Release group "default" matches no projects. Please ensure all release groups match at least one project:"

Currently on a linux desktop.

No Usefull help found on the internet.

@thdk
Copy link
Contributor

thdk commented Apr 19, 2025

Hi @AllanTyson79, this issues misses a lot of information to help you out.

Can you submit your a link to your git repo?

If it helps you here is a free course on epic.dev on how to manage releases with nx: https://www.epicweb.dev/tutorials/versioning-and-releasing-npm-packages-with-nx/nx/automated-npm-package-publishing-with-nx

My 2 cents would be that you don't have any publishable library in your repo.

When generating a library that you want to have published, you must set --publishable and --importPath=@your-org-or-username/lib-name

Like this:

npx nx g lib --directory packages/lib-a --publishable --importPath @thdk/lib-a

That should properly configure the generated package to be publishable with nx (and should be matched by the default release group)

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

2 participants