Skip to content

Commit

Permalink
🔧 fix: ensure Jira prefix is uppercased (#6)
Browse files Browse the repository at this point in the history
* 🔧 fix: ensure Jira prefix is uppercased

* 🏷️ bump version
  • Loading branch information
thecarlo committed Jan 2, 2024
1 parent 12b9893 commit 33eaae4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@humankode/git-inject-jira-ticket",
"version": "0.0.6",
"version": "0.0.7",
"private": false,
"description": "A script for the prepare-commit-msg git hook that automatically injects a Jira ticket based off the jira ticket in the branch name",
"repository": "github:thecarlo/git-inject-jira-ticket",
Expand Down
2 changes: 1 addition & 1 deletion src/functions/sentenceCase/capitalizeMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export const capitalizeMessage = (message: string): string => {

const capitalizedSentence = capitalizeFirstLetter(capitalizedMessage.trim());

return `${identifier}: ${capitalizedSentence}`;
return `${identifier.toUpperCase()}: ${capitalizedSentence}`;
};

0 comments on commit 33eaae4

Please sign in to comment.