Scripts Directory
This directory contains automation scripts for building and releasing Kodelet.
Scripts
Extracts the top release notes from RELEASE.md for use in GitHub releases.
Usage:
./scripts/extract-release-notes.sh
Output: The content between the first ## heading and the second ## heading in RELEASE.md, with leading/trailing empty lines removed.
Used by: The github-release mise task to automatically include release notes in GitHub releases.
run-github-release.sh
Extracts the top RELEASE.md entry into a temporary file and passes it to GoReleaser via --release-notes.
Usage:
./scripts/run-github-release.sh
Usage in mise Tasks
mise run github-release - Uses run-github-release.sh to publish GitHub releases with proper release notes from RELEASE.md