Skip to content

Publish reviewable drafts as pre-releases - #3

Merged
timurbazhirov merged 1 commit into
mainfrom
publish-draft-prereleases
Aug 21, 2026
Merged

timurbazhirov merged 1 commit into
mainfrom
publish-draft-prereleases

Conversation

@timurbazhirov

Copy link
Copy Markdown
Member

The documents are public and under review, but there is no way to hand someone a PDF. Releases are cut only from date tags, and a date tag means ratified (CHARTER.md §12.1). Workflow artifacts are not an answer — they need a logged-in GitHub account and expire after ninety days.

A draft-YYYY-MM-DD tag now publishes the same consolidated PDF as a pre-release. The two paths differ at every point a reader might confuse them:

Ratified Draft
Tag YYYY.M.D-N draft-YYYY-MM-DD
GitHub Latest release Pre-release
Notes open with the version ratified "These documents have not been ratified."
PDF page footer the version number draft-YYYY-MM-DD
Tag mutability immutable (ruleset) replaceable

Both paths still refuse to publish a tag that is not an ancestor of main, so a draft PDF always reflects a real state of the repository rather than someone's working tree.

Not part of this change, but worth recording: the branch protection on main required a check named pdf, while the job is named build. No pull request could ever have merged. Corrected to build and sign-off-check.

🤖 Generated with Claude Code

The documents are public and under review, but there is no way to hand someone
a PDF: releases are cut only from date tags, and a date tag means ratified.
Workflow artifacts are not an answer — they need a logged-in GitHub account and
expire after ninety days.

A `draft-YYYY-MM-DD` tag now publishes the same consolidated PDF as a GitHub
pre-release. The two paths are deliberately different at every point a reader
might confuse them: the release is flagged as a pre-release rather than Latest,
its notes open by saying the documents have not been ratified and point at
CHARTER.md §12.1, and the PDF carries the draft tag in the footer of every page
where a version number would otherwise sit.

The ratified path is untouched. Both still refuse to publish a tag that is not
an ancestor of main, so a draft PDF always reflects a real state of the
repository rather than someone's working tree.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Timur Bazhirov <timur@exabyte.io>
@timurbazhirov
timurbazhirov merged commit 56e39f0 into main Aug 21, 2026
3 checks passed
@timurbazhirov
timurbazhirov deleted the publish-draft-prereleases branch August 21, 2026 09:39
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