Skip to content

ci: automated versioning with release-please#87

Merged
PAMulligan merged 1 commit into
mainfrom
chore/release-please
May 26, 2026
Merged

ci: automated versioning with release-please#87
PAMulligan merged 1 commit into
mainfrom
chore/release-please

Conversation

@PAMulligan
Copy link
Copy Markdown
Contributor

Summary

Adds release-please so versioning, CHANGELOG, tags, and GitHub Releases stop being hand-driven (the v1.1.0 release was fully manual, and versions had drifted: root 0.5.0, widget/worker 0.1.0, tags v1.x).

  • .github/workflows/release-please.yml runs on push to main.
  • release-please-config.json + .release-please-manifest.json (seeded at 1.1.0, matching the latest tag). include-component-in-tag: false keeps the vX.Y.Z tag format. Changelog sections mirror the existing .versionrc.json.
  • extra-files syncs widget/ and worker/ package.json versions to the root version going forward, ending the sprawl.
  • Design doc: docs/plans/2026-05-26-release-automation-and-cdn-design.md.

How it works: release-please maintains a "release vX.Y.Z" PR from conventional commits; merging it cuts the tag + Release. It only pushes to its own PR branch and creates tags/releases, so it never writes to protected main directly — no bypass token needed.

Follow-up / setup

  • Required: enable Settings → Actions → General → "Allow GitHub Actions to create and approve pull requests" (or supply a PAT as token:), or release-please can't open its PR.
  • The legacy standard-version setup (.versionrc.json, release* scripts, devDep) is now superseded; left in place and removable in a follow-up once this is confirmed working.

This is additive — no existing behavior changes until the workflow runs on main.

Note

PR #(cdn-auto-update) is stacked on this branch and adds the CDN/auto-update piece (including the step that commits built artifacts into the release PR).

Maintains a release PR from conventional commits, syncs root/widget/worker
package versions, and cuts tags + GitHub Releases on merge. Supersedes the
manual standard-version flow (left in place for now).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@PAMulligan PAMulligan self-assigned this May 26, 2026
@PAMulligan PAMulligan added enhancement New feature or request widget Chat widget UI and embed functionality backend Cloudflare Workers API and AI integration security Security hardening and auditing labels May 26, 2026
@PAMulligan PAMulligan moved this from Todo to Done in PMDS Open Source Roadmap May 26, 2026
@PAMulligan PAMulligan added this to the v1.1.0 milestone May 26, 2026
@PAMulligan PAMulligan merged commit 3604462 into main May 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Cloudflare Workers API and AI integration enhancement New feature or request security Security hardening and auditing widget Chat widget UI and embed functionality

Projects

Development

Successfully merging this pull request may close these issues.

1 participant