Skip to content

Commit

Permalink
fix: release note fix description
Browse files Browse the repository at this point in the history
  • Loading branch information
brunograna committed Feb 19, 2024
1 parent 8052121 commit fd2b4c0
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,21 +139,21 @@ jobs:
for hash in $commit_range; do
subject=$(git log --format="%h %s by @%an" -n 1 $hash)
case "$subject" in
*'BREAKING CHANGE:'*)
echo "* **Breaking Change:** ${line#*:}" >> release_notes.md
;;
*'feat:'*)
echo "* **Feature:** ${line#*:}" >> release_notes.md
has_feat=true
;;
*'fix:'*)
echo "* **Fix:** ${line#*:}" >> release_notes.md
;;
*)
echo "* ${line#*:}" >> release_notes.md
;;
esac
case "$subject" in
*'BREAKING CHANGE:'*)
echo "* **Breaking Change:** ${line#*:}" >> release_notes.md
;;
*'feat:'*)
echo "* **Feature:** ${line#*:}" >> release_notes.md
has_feat=true
;;
*'fix:'*)
echo "* **Fix:** ${line#*:}" >> release_notes.md
;;
*)
echo "* ${line#*:}" >> release_notes.md
;;
esac
done
echo "" >> release_notes.md
Expand Down

0 comments on commit fd2b4c0

Please sign in to comment.