Skip to content

Commit

Permalink
fix(changelog): Fix Renovate changelogs to support semantic commits
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Aug 14, 2023
1 parent 16c79c6 commit 846748d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
CHANGELOG_APPEND: ${{ contains(steps.pr.outputs.labels, 'changelog-append') }}
run: |
set -eux
export DESCRIPTION="$(sed 's/^:.*: //' <<<"$TITLE")"
export DESCRIPTION="$(perl -pe 's/^.+?: (.)/\U$1/' <<<"$TITLE")"
CHANGELOG="$(yq -o json '[{"kind": "changed", "description": strenv(DESCRIPTION)}]')"
UPDATE_TYPE=replace
if [[ "$CHANGELOG_APPEND" == "true" ]]; then
Expand Down

0 comments on commit 846748d

Please sign in to comment.