Skip to content

Commit 681cf0d

Browse files
authored
fix: Fix escaping of changelog characters (#43)
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
1 parent cba7d1e commit 681cf0d

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ jobs:
5252
run: |
5353
set -euo pipefail
5454
55-
changes='${{ steps.changelog.outputs.changes }}'
55+
changes="$(
56+
cat <<'EOF'
57+
${{ steps.changelog.outputs.changes }}
58+
EOF
59+
)"
5660
5761
changelog="$(echo "${changes}" | sed -r 's/\[(@[^]]+)\]\([^)]+\)/\1/g')"
5862

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
- Updated _github/codeql-action_ from `3.28.11` to [`3.28.13`](https://github.com/github/codeql-action/releases/tag/v3.28.13). ([#42](https://github.com/action-stars/generic-workflows/pull/42)) _@dependabot_
2121
- Updated _actions/upload-artifact_ from `4.6.1` to [`4.6.2`](https://github.com/actions/upload-artifact/releases/tag/v4.6.2). ([#42](https://github.com/action-stars/generic-workflows/pull/42)) _@dependabot_
2222

23+
### Fixed
24+
25+
- Fix escaping of changelog characters. ([#43](https://github.com/action-stars/generic-workflows/pull/43)) _@stevehipwell_
26+
2327
## [v0.5.1] - 2025-03-1
2428

2529
### Added

0 commit comments

Comments
 (0)