Skip to content

ci: date the draft announcement like its release note - #14648

Merged
cb1kenobi merged 1 commit into
mainfrom
ci/release-post-takes-the-note-date
Nov 11, 2026
Merged

cb1kenobi merged 1 commit into
mainfrom
ci/release-post-takes-the-note-date

Conversation

@cb1kenobi

Copy link
Copy Markdown
Member

A follow-up to #14641 and #14646, found on the first real run (14.0.0.GA, run 42964034681, titaniumsdk.com#97).

The two files in the release-notes PR start with different dates:

File Date From
registry/sdk/14.0.0/release-notes.md 2026-11-09 the CHANGELOG.md heading (#14646)
content/blog/sdk-14-0-0-ga.md 2026-11-11 the day the release run started

release-notes-ready moves a date to the release day only where it still matches the note's. That's so a date someone set by hand is left alone. So the post keeps the run's date whenever approval comes on a later day.

The draft step now passes the note's date to new-release-post.ts --date. Both files start equal, and both move to the release day together. If the note somehow has no date, the script's own default (today) applies as before.

Tested: the workflow parses, and the step's shell, run against a note dated 2026-11-09, produces --version 14.0.0 --date 2026-11-09.

The 14.0.0 run already in progress keeps the workflow it started with, so this applies from the next release. For 14.0.0, the post's date is right if the release is approved today. Otherwise it's one line to fix on #97.

🤖 Generated with Claude Code

Since #14646 the release note takes its date from the CHANGELOG.md
heading, which can be days before the release run, while the draft
post was dated the day of the run. release-notes-ready moves a date to
the release day only where it still matches the note's, so the post
kept the run's date whenever approval came on a later day. The post now
starts with the note's date, so both move together.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cb1kenobi
cb1kenobi merged commit 2f74f80 into main Nov 11, 2026
7 checks passed
@cb1kenobi
cb1kenobi deleted the ci/release-post-takes-the-note-date branch November 11, 2026 21:16
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