Expand description
Reusable release-document tasks, inspired by Samuel Williams’s Ruby
bake-releases: https://github.com/ioquatix/bake-releases (MIT).
This implementation preserves Markdown bytes rather than re-rendering them.
Functions§
- extract_
notes - Extract the body under an exact ATX heading, retaining nested sections and original Markdown bytes. Missing or duplicate headings are errors.
- notes
- Extract the Markdown body beneath an exact release heading.
- notes_
task - Generated Bake task descriptor.
- update
- Rename Unreleased to a release version, preserving the rest of the document.
- update_
document - Replace exactly one
Unreleasedheading without reformatting the document. Existing version headings and multiline version strings are rejected. - update_
task - Generated Bake task descriptor.