Skip to content

Commit

Permalink
Feat: updated prefixes which trigger major updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 authored Jan 24, 2024
1 parent 68990d3 commit 91c1196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/automatic-versioning/src/types/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const runner = (name, noCommit, recursive = false, prereleaseTag, prereleaseBran
const { commitMessage, commitPrefix, noBump } = await getCommitPrefix(recursive, ignorePrefixes);
if (!noBump) {
let versionUpdate;
if (["feature!", "feat!", "f!"].includes(commitPrefix)) {
if (["feature!", "feat!", "f!", "fix!", "patch!"].includes(commitPrefix)) {
versionUpdate = "major";
} else if (["feature", "feat", "f"].includes(commitPrefix)) {
versionUpdate = "minor";
Expand Down

0 comments on commit 91c1196

Please sign in to comment.