Skip to content

docs(release): document release procedure in AGENTS.MD; remove deprecated createRelease.sh#7920

Merged
JohnMcLear merged 2 commits into
developfrom
remove-deprecated-createRelease
Jun 9, 2026
Merged

docs(release): document release procedure in AGENTS.MD; remove deprecated createRelease.sh#7920
JohnMcLear merged 2 commits into
developfrom
remove-deprecated-createRelease

Conversation

@JohnMcLear

@JohnMcLear JohnMcLear commented Jun 9, 2026

Copy link
Copy Markdown
Member

Two related changes that tidy up release tooling and documentation.

1. Document the release procedure in AGENTS.MD

Adds a Releasing section so maintainers have a single reference instead of reverse-engineering it from bin/release.ts and the workflow files. It covers:

  • Prerequisites — the # X.Y.Z CHANGELOG.md guard (release.ts:146), and the requirement that all four package.json files agree on the current version (release.ts reads it from src/package.json). This is the exact desync that blocked the 3.3.0 release.
  • The one-dispatch flow — "Release etherpad" → bin/release.tsbin/push-after-release.sh, and what the vX.Y.Z tag push auto-triggers (handleRelease.yml GitHub Release, docker.yml, snap-publish.yml), plus the separate manual npm publish (releaseEtherpad.yaml, OIDC).
  • Documentation — the two distinct kinds of doc work: (1) per-PR doc/ updates in any behaviour-change PR (doc/api/http_api.{md,adoc} etc.); (2) the automated release-time versioned-docs publish into the ether.github.com sibling repo (makeDocspublic/doc/vX.Y.Z).

2. Remove deprecated bin/createRelease.sh

It has carried a "DEPRECATED since Etherpad 1.7.0 (2018-08-17), left here just for documentation" banner for ~8 years and cannot run: it authenticates with the ?access_token= query parameter GitHub removed in 2021, targets old ether/etherpad-lite paths, and nothing references it. The AGENTS.MD section now documents the real flow, so the dead script only added confusion.

🤖 Generated with Claude Code

This script has carried a "DEPRECATED since Etherpad 1.7.0 (2018-08-17),
left here just for documentation" banner for years and is dead code:

- It authenticates to the GitHub API with the `?access_token=` query
  parameter, which GitHub removed in 2021 — every API call (token check,
  branch merge, release publish) now fails outright.
- It targets the old `ether/etherpad-lite` repo paths and calls
  `bin/buildForWindows.sh` / `make docs`, neither of which is how releases
  are built anymore.
- Nothing references it (no workflow, script, or doc).

The current release flow is the "Release etherpad" workflow
(.github/workflows/release.yml) driving bin/release.ts, then the tag-push
triggers handleRelease.yml + releaseEtherpad.yml. createRelease.sh only adds
confusion, so remove it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Jun 9, 2026

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Qodo Logo

Add a "Releasing" section to AGENTS.MD so maintainers have a single
reference for cutting a release, instead of reverse-engineering it from
bin/release.ts and the workflow files.

Covers:
- Prerequisites: the CHANGELOG `# X.Y.Z` guard, and the requirement that all
  four package.json files agree (release.ts reads the current version from
  src/package.json) — the desync that blocked the 3.3.0 release.
- The one-dispatch flow: "Release etherpad" -> bin/release.ts -> tag push,
  and what the vX.Y.Z tag auto-triggers (handleRelease GitHub Release,
  docker, snap-publish), plus the separate manual npm publish dispatch.
- Documentation: the two distinct kinds of doc work — per-PR doc/ updates in
  behaviour-change PRs, and the automated release-time versioned-docs publish
  into the ether.github.com sibling repo.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@JohnMcLear JohnMcLear changed the title chore(release): remove deprecated bin/createRelease.sh docs(release): document release procedure in AGENTS.MD; remove deprecated createRelease.sh Jun 9, 2026
@JohnMcLear JohnMcLear merged commit 53407f0 into develop Jun 9, 2026
32 checks passed
@JohnMcLear JohnMcLear deleted the remove-deprecated-createRelease branch June 9, 2026 08:32
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