Skip to content

Remove notes-file from create-release - #8

Merged
t4k merged 1 commit into
mainfrom
release/notes-at-publish-time
Sep 10, 2026
Merged

Remove notes-file from create-release#8
t4k merged 1 commit into
mainfrom
release/notes-at-publish-time

Conversation

@t4k

@t4k t4k commented Sep 10, 2026

Copy link
Copy Markdown
Member

Notes are written when the draft is published. The release editor is a real
text area with a preview, in front of the draft being reviewed — and whoever
would pass notes in is the same person who is about to open it.

Passing them in also means collecting them somewhere, and in practice that is
a workflow_dispatch input: a single-line box that shows barely a phrase.

Removed from bin/create-release.sh and the action. --generate-notes still
opens the draft with GitHub's commit list, which is the right starting point
for someone writing above it.

Released as a minor, by exception

Removing an input is a major change by
ADR-0006. Shipping
this as 1.4.0 is a deliberate exception, recorded in the changelog:

  • the input shipped in 1.3.0 earlier the same day
  • the only consumer of create-release anywhere in the organization is
    caltechlibrary/CL-web-components, and its change to stop passing it lands
    in lockstep
  • these actions have no outside users yet

Once they do, the rule applies as written.

Tested

Against a scratch repository: the dry run prints the expected
gh release create, and --notes-file is now rejected with exit 2.
shellcheck --severity=style clean, README-documents-every-input passes for
all seven actions.

Notes are written when the draft is published. The release editor is a real
text area with a preview, in front of the draft being reviewed, and whoever
would pass notes in is the same person about to open it. Passing them in also
means collecting them in a workflow_dispatch input, which is a single-line box
showing barely a phrase.

Removing an input is breaking by ADR-0006. This one shipped in 1.3.0 earlier
today and had one consumer, whose change to stop passing it lands alongside
this, so no caller is broken.
@t4k
t4k merged commit 507652d into main Sep 10, 2026
6 checks passed
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