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

Allow skipping creating tags? #782

Open
NullDivision opened this issue Feb 7, 2024 · 2 comments
Open

Allow skipping creating tags? #782

NullDivision opened this issue Feb 7, 2024 · 2 comments
Labels
question Further information is requested

Comments

@NullDivision
Copy link

It would be nice to be able to skip creating tags for specific projects.

The use case I would currently like is to skip creating tags for packages in our /libs directory while still creating them for /apps.

@edbzn edbzn added the question Further information is requested label Feb 9, 2024
@edbzn
Copy link
Member

edbzn commented Feb 9, 2024

Hi @NullDivision, by design semver is tag-based, which means it uses tags to define the current version so it doesn't make sense to add an option to skip tagging, it would break version calculation. Note that there's already an open PR about that (#687) but I would not merge it until we choose to support other strategies to get the current version. For now, it's not a priority.

@anthones
Copy link

anthones commented Apr 22, 2024

+1 for this. It would be nice to at least support that option for more advanced cases.
The problem with creating tags after versioning each given individual package, is that they are blocking the git process.

In my use case, the difference between versioning in a single NX process and in 5 parallel processes is quite dramatic, as I use semver to version an nx monorepo with around 200 independent packages. I'm pushing (and squashing) manually after the main process finishes.
And right now the tags are the only reason why I cannot scale up the parallel tasks.

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

No branches or pull requests

3 participants