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 8ded413 commit 0e46d1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,17 +141,17 @@ jobs:
subject=$(git log --format="%h %s by @%an" -n 1 $hash)
case "$subject" in
*'BREAKING CHANGE:'*)
echo "* **Breaking Change:** ${line#*:}" >> release_notes.md
echo "* **Breaking Change:** $(echo "$subject" | awk -F: '{print $2}')" >> release_notes.md
;;
*'feat:'*)
echo "* **Feature:** ${line#*:}" >> release_notes.md
echo "* **Feature:** $(echo "$subject" | awk -F: '{print $2}')" >> release_notes.md
has_feat=true
;;
*'fix:'*)
echo "* **Fix:** ${line#*:}" >> release_notes.md
echo "* **Fix:** $(echo "$subject" | awk -F: '{print $2}')" >> release_notes.md
;;
*)
echo "* ${line#*:}" >> release_notes.md
echo "* $(echo "$subject" | awk -F: '{print $2}')" >> release_notes.md
;;
esac
done
Expand Down

0 comments on commit 0e46d1e

Please sign in to comment.