Skip to content

Commit

Permalink
feat: updated regex to include style commits as a condition for inc…
Browse files Browse the repository at this point in the history
…reasing patch version
  • Loading branch information
dloez committed Aug 26, 2023
1 parent 0cf9af5 commit 5f5c53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mod version;

const MAJOR_REGEX_PATTERN: &str = r"^(feat|refactor|perf)!:";
const MINOR_REGEX_PATTERN: &str = r"^(feat|refactor|perf):";
const PATCH_REGEX_PATTERN: &str = r"^fix:";
const PATCH_REGEX_PATTERN: &str = r"^(fix|style):";

#[derive(Parser, Debug, Serialize, Clone)]
#[command(author, version, about, long_about = None)]
Expand Down

0 comments on commit 5f5c53b

Please sign in to comment.