From fd2b4c0626adee82a0050471c5ae68c68059693a Mon Sep 17 00:00:00 2001 From: brunograna Date: Sun, 18 Feb 2024 22:51:13 -0300 Subject: [PATCH] fix: release note fix description --- .github/workflows/cd.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 5441d55..2c2bc9a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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