Skip to content

fix(ci): overlay CHANGELOG from main in release-email#382

Merged
unjica merged 1 commit into
developfrom
fix/release-email-changelog-overlay
Jul 12, 2026
Merged

fix(ci): overlay CHANGELOG from main in release-email#382
unjica merged 1 commit into
developfrom
fix/release-email-changelog-overlay

Conversation

@unjica

@unjica unjica commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • When the tagged commit lacks ## [version] in CHANGELOG.md, fetch that file from origin/main with git show instead of git checkout origin/main.
  • Avoids checkout failures when the runner has local changes (e.g. generated apps/api/src/generated/api-version.ts).

Context

v1.8.2 release-email run failed at "Ensure CHANGELOG at release version" because main had the section but checkout was blocked. v1.8.2 is patch-only, so email would have been skipped after this step anyway.

Test plan

  • CI green on PR
  • Future tag pushes with missing CHANGELOG at tag can overlay from main without full tree checkout

Made with Cursor

Tag pushes can lack the release CHANGELOG section while main has it; checking out origin/main fails when generated api-version differs on the runner.

Co-authored-by: Cursor <cursoragent@cursor.com>
@unjica
unjica merged commit 87fba02 into develop Jul 12, 2026
5 of 6 checks passed
@unjica
unjica deleted the fix/release-email-changelog-overlay branch July 12, 2026 00:35
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