Skip to content

Fix: resolve release notes for a prerelease tag - #103

Merged
SandObserver merged 1 commit into
mainfrom
fix/prerelease-release-notes
Aug 17, 2026
Merged

SandObserver merged 1 commit into
mainfrom
fix/prerelease-release-notes

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Resolve a prerelease tag's notes to its base version's changelog section, falling back to [Unreleased], instead of requiring a section named after the tag.
  • Return no notes when a prerelease has nothing pending, so the failure stays explicit.

Testing
All green. Added 1 test covering both fallbacks and the empty case.

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.
  • CHANGELOG.md updated under Unreleased if the change is user-visible.

A prerelease is tagged before its changelog section is dated, so the lookup
found nothing and the release page step exited after the image had published.

Fall back to the base version's section, then to [Unreleased].
@SandObserver SandObserver added the github_actions Pull requests that update GitHub Actions code label Aug 17, 2026
@SandObserver
SandObserver merged commit 3440657 into main Aug 17, 2026
4 checks passed
@SandObserver
SandObserver deleted the fix/prerelease-release-notes branch August 17, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant