Skip to content

[codex] Fix release notes previous tag detection#34

Merged
ThomasK33 merged 1 commit intomainfrom
codex/fix-release-notes-prev-ref
Apr 28, 2026
Merged

[codex] Fix release notes previous tag detection#34
ThomasK33 merged 1 commit intomainfrom
codex/fix-release-notes-prev-ref

Conversation

@ThomasK33
Copy link
Copy Markdown
Member

Summary

  • resolve the previous release ref explicitly before invoking communique
  • use Git ancestry from the release commit parent instead of communique's version-sort fallback
  • exclude hyphenated test/prerelease-style tags from previous stable release selection
  • pass the resolved previous ref as communique's optional PREV_TAG argument

Validation

  • verified locally that v0.0.0-release-notes-test resolves to v0.12.0
  • verified locally that v0.12.0 resolves to v0.11.7
  • nix develop .# --command actionlint .github/workflows/release-notes.yaml
  • nix develop .# --command treefmt --fail-on-change

Change-Id: If7c4dd7f6fadbef5ed22247df0701509e515cbb6
Signed-off-by: Thomas Kosiewski <tk@coder.com>
@ThomasK33 ThomasK33 marked this pull request as ready for review April 28, 2026 09:10
@ThomasK33 ThomasK33 merged commit a32d347 into main Apr 28, 2026
1 check passed
@ThomasK33 ThomasK33 deleted the codex/fix-release-notes-prev-ref branch April 28, 2026 09:10
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