npm version without a git-tag

Viewed 257

I'd like to run

npm version from-git

to sync the latest git tag and package.json version after a release. The issue is that this creates a git tag, and since it's pulled from the latest tag, it fails because that tag already exist. Is there a way to set the package.json version to the new git tag, commit and push that, without creating the git tag?

0 Answers
Related