Skip to content

feat(release): automate versioning and releases with changesets#60

Open
WilliamBergamin wants to merge 7 commits into
mainfrom
release-process
Open

feat(release): automate versioning and releases with changesets#60
WilliamBergamin wants to merge 7 commits into
mainfrom
release-process

Conversation

@WilliamBergamin

@WilliamBergamin WilliamBergamin commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

What

Automates versioning and releases with Changesets, so maintainers no longer hand-edit version fields or cut releases manually.

How it works

  • Contributors add a changeset for user-facing changes with a markdown file in .changeset/ describing the change and its semver bump.
  • package.json is the version source of truth.
    • Changesets bumps it
    • scripts/sync_versions.py then mirrors that version out to .claude-plugin/plugin.json and .cursor-plugin/plugin.json.
  • Merging changesets to main triggers .github/workflows/release.yml, which uses changesets/action to open/update a draft "chore: release" PR, bumps the version, and updates the changelog.
  • Merging that release PR publishes the release via npx @changesets/cli publish.

Config & conventions

  • .changeset/config.json: private package (privatePackages: { version, tag }), baseBranch: main, frontmatter key is always "slack".

@WilliamBergamin WilliamBergamin requested a review from mwbrooks June 23, 2026 20:25
@WilliamBergamin WilliamBergamin self-assigned this Jun 23, 2026
@WilliamBergamin WilliamBergamin requested a review from zimeg June 23, 2026 20:25
@WilliamBergamin WilliamBergamin added documentation Improvements or additions to documentation release changes are related to releases labels Jun 23, 2026
@WilliamBergamin WilliamBergamin marked this pull request as ready for review June 23, 2026 20:27
Comment thread Makefile
Comment on lines +76 to +78
changeset: ## Create a changeset describing a user-facing change (for the next release)
npx --yes @changesets/cli add

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just document this? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation release changes are related to releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant