Skip to content

build: automate changesets releases - #2947

Closed
gpbl wants to merge 2 commits into
mainfrom
build/changesets-release-workflow
Closed

build: automate changesets releases#2947
gpbl wants to merge 2 commits into
mainfrom
build/changesets-release-workflow

Conversation

@gpbl

@gpbl gpbl commented Apr 26, 2026

Copy link
Copy Markdown
Owner

This switches the repo from the manual GitHub Release publish flow to a Changesets-driven release PR flow, while keeping the repo-level safeguards and one-release-per-version GitHub release story.

What Changed

  • add a dedicated release workflow that lets Changesets open or update the release PR on pushes to main
  • move the repo-specific publish logic into release helper scripts that validate, publish missing package versions, and create one repo GitHub Release per version
  • keep the main workflow focused on CI-only checks
  • remove the old release-tag validation script that belonged to the manual GitHub Release flow
  • document the new release process in .changeset/README.md

Review Notes

  • the release PR branch is fixed to changesets-release/main, and only merges from that branch are allowed to publish
  • workflow_dispatch is kept for recovery so a rerun can still create the repo GitHub Release after npm publish succeeds
  • the publish path still relies on the shared scripts/publish-packages.ts behavior from the prep PR, including skip-if-published handling and public scoped publishes

@changeset-bot

changeset-bot Bot commented Apr 26, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 89770ab

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Base automatically changed from build/tsx-publish-script to main April 26, 2026 07:51
@gpbl

gpbl commented Apr 26, 2026

Copy link
Copy Markdown
Owner Author

Superseded by the split follow-up PRs:

Keeping the smaller stack for review clarity.

@gpbl gpbl closed this Apr 26, 2026
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