NPM standard-version patch version problem

I’m trying to use standard-version in my javascript project. I added the release script to my package.json:

"scripts": {     ...     "release": "standard-version" } 

My problem is that I added a commit to my git repo with the following message:

feat: test 

I run npm run release and it increased the patch version of the project.

So my initial version was 0.2.1 (tag: v0.2.1), and I it generated 0.2.2 with this commit message

chore(release): 0.2.2 

Why didn’t it increase the minor version?

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.