question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Standard version isn't bumping correctly for me anymore.

See original GitHub issue

Describe the bug Standard version isn’t bumping correctly for me anymore. I have a repo setup at https://github.com/kpham007/standard-version-test/commits/main. If you notice the commit messages have the “fix:” scope in them but when I use standard-version, it keeps bumping the minor version.

Current behavior The commit messages have the “fix:” scope but when I use standard-version, it bumps the minor version instead of the patch version. Even standard-version --dry-run will also do an incorrect bump.

Expected behavior The version should bump correctly based on the scope in the commit message: fix should bump patch, feat should bump minor, and breaking changes should bump major.

Environment

  • standard-version version(s): 9.0.0
  • Node/npm version: Node v12.18.3 / npm v6.14.6
  • OS: OSX 11.0.1

Possible Solution

Additional context This has worked before without issues. I haven’t changed the way I’ve run commands either. Is there something I may be missing?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
kpham007commented, Nov 17, 2020

Nevermind. I figured it out. I need to push git tags as well.

0reactions
lordfpxcommented, Mar 23, 2022

Same problem here, npm run release -- --release-as minor bump tag like a patch 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

10 Reasons You're Not Pumping Enough Milk
1. Not pumping frequently enough · 2. Not completely “emptying” the breast · 3. Little or no skin-to-skin contact · 4. Stress, fatigue...
Read more >
Pumping mistakes you might not know you're making and how ...
Pumping breast milk isn't the most intuitive thing, so if you've never done it before, it's easy to make a mistake!
Read more >
4 Reasons Milk Is Not Coming Out When You Pump & How to ...
Start by making sure that pump flanges fit correctly and that pump settings are correct. Small flange sizes have become very popular in...
Read more >
Troubleshoot checking spelling and grammar in multiple ...
Checking spelling and grammar in multiple languages can present unique problems, such as correctly spelled words being flagged as incorrect, or misspelled ...
Read more >
11 Issues that Frustrate Willow Pump Parents
It is, however, a pump that requires fairly exact sizing, body adjustment, and isn't designed to be the end-all be-all of breast pumps...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found