Standard version isn't bumping correctly for me anymore.
See original GitHub issueDescribe 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:
- Created 3 years ago
- Comments:8
Top GitHub Comments
Nevermind. I figured it out. I need to push git tags as well.
Same problem here,
npm run release -- --release-as minor
bump tag like a patch 😦