Skip to content

Commit 65d1b8f

Browse files
PDM-892: adding PDM Jira prefix to commit hooks
1 parent ddb8791 commit 65d1b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/hooks/commit-msg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ message_file="${1}"
66

77
commit_message="$(tr '[:upper:]' '[:lower:]' < "${message_file}")"
88

9-
if [[ "${commit_message}" =~ ^(((mesh|spinecore)?\-[0-9]+\:?\ )|(merge\ branch)).* ]]; then
9+
if [[ "${commit_message}" =~ ^(((mesh|spinecore|pdm)?\-[0-9]+\:?\ )|(merge\ branch)).* ]]; then
1010
exit 0
1111
else
1212
echo ""

0 commit comments

Comments
 (0)