-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[DOCS] git-tag-version=false does not commit #3710
Comments
PS: it's specified in the documentation that the git-tag-version options "tags the commit", so it should be expected that turning it to false only "does not tag the commit", implicitly that the commit should still exist. |
Yeah, we don't commit it if we're not creating the tag. That's how it's been for at least 2 majors now, and changing that would be a breaking change. I think this just needs a docs fix, tbh. |
@isaacs the parameter's name would still be misleading imho. |
@y-nk That's a fair complaint, but it's also been that way since "use git when doing We could split the config into two different options (say, |
Actually, that'd be kind of weird, because setting So maybe the best option would be something like a |
Made a PR to update docs so that this is clarified. Having this flag do something different than it does now should go through the rfc process |
* feat: no git tag version Fixes: #21 * fix: 🐛 --no-git-tag-version does not commit see npm/cli#3710 * 0.7.4
Is there an existing issue for this?
Current Behavior
the npm version command does not perform the
git commit
operation.Expected Behavior
the npm version command still performs the
git commit
operation.Steps To Reproduce
npm version --git-tag-version=false
package.json
will be modified, but the git commit won't be there.Environment
The text was updated successfully, but these errors were encountered: