Skip to content

Commit bb662b3

Browse files
committed
feat(template.sh): add bash file
This bash is a commit template for git and orgnaized commits.
1 parent 68bfa43 commit bb662b3

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

template.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,13 @@ if [ ! -z "$BREAKING_CHANGES" ]; then
8989
BREAKING_CHANGES="BREAKING CHANGE: ${BREAKING_CHANGES}"
9090
fi
9191

92-
echo
93-
echo "${TYPE}${SCOPE}: ${SHORT_DESC}
92+
printf "\n${TYPE}${SCOPE}: ${SHORT_DESC}
9493
9594
${LONG_DESC}
9695
9796
${BREAKING_CHANGES}
9897
99-
${CLOSED_ISSUES}" | awk '{ gsub(/ /,""); print }'
100-
echo
98+
${CLOSED_ISSUES}\n\n"
10199

102100
# Git commit
103101
RESULT_CODE=$?

0 commit comments

Comments
 (0)