Skip to content

Add dev release channel, auto-generated release notes, and README automation - #83

Merged
mikemadeja merged 6 commits into
mainfrom
develop
Sep 18, 2026
Merged

mikemadeja merged 6 commits into
mainfrom
develop

Conversation

@mikemadeja

Copy link
Copy Markdown
Owner

Summary

  • Dev release channel (ci: publish rolling dev builds to GitHub Releases #80): a rolling dev-latest pre-release published to GitHub Releases on every push to develop, so builds can be tested before promotion to main. Never touches the PowerShell Gallery — that stays exclusive to this develop->main release workflow.
  • Auto-generated release notes (fix: auto-generate GitHub release notes #81): CreateRelease.yml now sets generate_release_notes: true, so every future release gets a "What's Changed" section listing merged PRs automatically. Also backfilled the previously-empty v0.0.22 release notes.
  • README command reference automation (docs: auto-generate README command reference from exported functions #82): tools/Update-ReadmeCommandReference.ps1 rebuilds the README's Command Reference tables from the module's actual exported functions, and a new workflow runs it on every develop->main PR so the docs can't silently drift from the code.

Test plan

  • Verified the dev-release workflow YAML and generator script locally
  • Confirmed v0.0.22's backfilled release notes render correctly on GitHub
  • Ran the README generator locally — output matches the module's real exported functions, idempotent, -Check mode correctly detects drift
  • Confirm this merge cuts a clean release with auto-generated notes

🤖 Generated with Claude Code

mikemadeja and others added 6 commits September 18, 2026 16:47
Adds a workflow that zips the module and publishes it as a
pre-release tagged 'dev-latest' on every push to develop, so builds
can be tested before they're promoted to main. The release is
overwritten each time (old dev-latest release/tag deleted first) and
the module version is stamped as 0.0.0-dev.<short-sha> so it's
obviously distinct from a real PowerShell Gallery release. Does not
touch the PowerShell Gallery publish step, which only runs from the
develop->main release workflow.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
ci: publish rolling dev builds to GitHub Releases
The Create GitHub Release step didn't pass a body or notes option, so
every release (including v0.0.22) was published with an empty
description. generate_release_notes: true has GitHub auto-build a
"What's Changed" section listing every PR merged since the previous
tag, with authors and a compare link, so releases document themselves
without per-release manual work.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
fix: auto-generate GitHub release notes
Adds tools/Update-ReadmeCommandReference.ps1, which builds the
Command Reference tables in README.md from the module's actual
exported commands (PiHoleShell.psm1), not just what's documented by
hand — this is how we previously found two public functions that
weren't exported and silently undocumented. Each entry's description
comes from the function's own comment-based help synopsis, falling
back to "_No description yet_" for the several functions whose
synopsis is just a bare doc URL. The 🚧 flag is derived from a
'#Work In Progress' marker in the source file.

A new workflow, SyncReadmeCommandReference.yml, runs the generator on
every develop->main pull request and commits the result back to the
develop branch if it drifted, so the README can't go stale.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…sync

docs: auto-generate README command reference from exported functions
@mikemadeja
mikemadeja merged commit 0bf8afb into main Sep 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant