Skip to content

Commit 4f5ffcf

Browse files
authored
Merge pull request #6 from fadeltd/fix/release-notes-and-changelog
Fix release notes quoting; release HTML to Text as v0.3.0
2 parents 0bb5ef3 + 7034d87 commit 4f5ffcf

3 files changed

Lines changed: 21 additions & 4 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,18 @@ jobs:
7676
git push origin "${TAG}"
7777
fi
7878
79+
# The notes go through env, never through ${{ }} in the script. Expression
80+
# substitution pastes the text into the script BEFORE bash parses it, so
81+
# every backtick in the changelog (`display: flex`) was run as a command
82+
# and the step died -- after the tag was pushed, so Deploy never started.
7983
- name: Create the GitHub release
8084
if: steps.cut.outputs.released == 'true'
8185
env:
8286
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87+
TAG: ${{ steps.cut.outputs.tag }}
88+
NOTES: ${{ steps.cut.outputs.notes }}
8389
run: |
84-
gh release create "${{ steps.cut.outputs.tag }}" \
85-
--title "${{ steps.cut.outputs.tag }}" \
86-
--notes "${{ steps.cut.outputs.notes }}" \
90+
gh release create "$TAG" --title "$TAG" --notes "$NOTES" \
8791
|| echo "::notice::Release already exists."
8892
8993
# Always dispatch, unconditionally.

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ dist/
33

44
# Planning docs stay local: direction and the task board are not published.
55
# They exist in the working tree, just not in the repo.
6+
tmp
67
ROADMAP.md
78
TODO.md
89

‎CHANGELOG.md‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,19 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
77

88
## [Unreleased]
99

10-
Nothing yet.
10+
### Added
11+
- HTML to Text: paste HTML and get readable plain text back. Paragraphs, lists
12+
and tables keep their structure; `script`, `style`, `head`, `svg`, hidden
13+
elements and icon ligatures (`role="img"`) are dropped, and entities are
14+
decoded. Link URLs and class-based hidden detection (`.hidden`, `.sr-only`)
15+
are optional toggles.
16+
17+
### Fixed
18+
- v0.2.3 was tagged but never released or deployed. The Release workflow
19+
pasted the changelog notes straight into a shell command, so the backticks in
20+
them were executed as command substitution and the step failed after the tag
21+
had been pushed, skipping Deploy. The notes are now passed through an
22+
environment variable. This release ships the 0.2.3 fixes as well.
1123

1224
## [0.2.3] — 2026-09-24
1325

0 commit comments

Comments
 (0)