Skip to content

Product email on minor line close (not first .0) - #553

Merged
unjica merged 2 commits into
developfrom
docs/product-email-line-close
Jul 18, 2026
Merged

unjica merged 2 commits into
developfrom
docs/product-email-line-close

Conversation

@unjica

@unjica unjica commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Policy: product update emails celebrate a finished minor line (vX.Y.*), not the first tag of the next milestone (vX.Y.0).
  • Workflow: tag pushes no longer auto-send; use Actions → Release product email with line_close=true, version = closing tag, previous_version = previous minor final / last emailed (must be outside the closing line).
  • Script: --line-close composes all matching CHANGELOG sections, subject/ledger use X.Y; mid-line patches still skip unless --force (single version).

Docs vs code

Area Change
docs/MARKETING-EMAIL.md, docs/RELEASE.md Line-close policy, operator inputs, checklist
.github/workflows/release-email.yml line_close input; tag push always skips send
release-email-semver.ts shouldSendProductUpdateEmail (skip opens/patches; send on line close)
changelog-section.ts extractChangelogMinorLineFromContent / loadChangelogMinorLine
send-release-email.ts / check-release-email-bump.ts --line-close wiring

Test plan

  • pnpm lint
  • API release-email unit tests + full pnpm test / pnpm build
  • /review-bugbot vs develop — fixed same-minor previous_version incomplete-send finding
  • CI green on this PR
  • Optional dry-run: pnpm exec tsx scripts/send-release-email.ts --dry-run --version=1.15.3 --previous-version=1.14.4 --line-close

Made with Cursor

unjica and others added 2 commits July 18, 2026 12:35
Stop auto-sending on opening tags; add line_close / --line-close to compose the full X.Y.* CHANGELOG when finishing a milestone.

Co-authored-by: Cursor <[email protected]>
@unjica
unjica merged commit 1010cc5 into develop Jul 18, 2026
5 of 6 checks passed
@unjica
unjica deleted the docs/product-email-line-close branch July 18, 2026 10:39
FelineFantasy pushed a commit to FelineFantasy/telemetry-tracker that referenced this pull request Jul 20, 2026
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