Skip to content

Commit

Permalink
TEST-1234 Refactor: Improve commit message formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyscholl committed Sep 23, 2024
1 parent 2aff2e6 commit 4d5ec6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-commit-push-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ commit_message=$(curl -s \

echo $commit_message

# Clean up commit message - remove #, ```, if there is a period add two new lines
commit_message=$(echo $commit_message | sed 's/#//g' | sed 's/```//g' | sed 's/Commit message title://g' | sed 's/Commit message summary://g' | sed 's/\./\n\n/g')
# Clean up commit message formatting - remove #, ```
commit_message=$(echo $commit_message | sed 's/#//g' | sed 's/```//g' | sed 's/Commit message title://g' | sed 's/Commit message summary://g')

echo $commit_message

Expand Down

0 comments on commit 4d5ec6f

Please sign in to comment.