Skip to content

Commit

Permalink
chore(changelog): correct minor bumps in 0.x.y ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkdev98 committed May 14, 2023
1 parent 4c8d690 commit 684e02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ function proposeVersionBump(version, commits) {
if (type === "patch") {
patch += 1;
} else if (type === "minor") {
if (major === 0 && minor === 0) {
if (major === 0) {
patch += 1;
} else {
minor += 1;
Expand Down

0 comments on commit 684e02b

Please sign in to comment.