From e334121fb13d7ca58b601d3798742b20f095a108 Mon Sep 17 00:00:00 2001 From: Pawel Sosnowski Date: Fri, 17 Nov 2023 14:40:55 +0100 Subject: [PATCH] chore(irs-api):fixed CONTRIBUTING.md file --- local/development/commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/development/commit-msg b/local/development/commit-msg index 59c99f5526..b12c4a838e 100644 --- a/local/development/commit-msg +++ b/local/development/commit-msg @@ -16,7 +16,7 @@ fi url="$(git remote get-url origin | sed 's/\.git/#commit-messages/')" # check semantic versioning scheme -if ! echo "$commitTitle" | grep -qE '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)\([a-z0-9/-]+\)\:\[#[0-9]+\].*$'; then +if ! echo "$commitTitle" | grep -qE '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)\([a-z0-9/-]+\)\:(\[#[0-9]+\])?.*$'; then echo "Your commit title did not follow semantic versioning: $commitTitle" echo "Please see $url" exit 1