Skip to content

chore: automate releases with changesets#17

Open
TimPietruskyRunPod wants to merge 1 commit intomainfrom
chore/automate-releases-with-changesets
Open

chore: automate releases with changesets#17
TimPietruskyRunPod wants to merge 1 commit intomainfrom
chore/automate-releases-with-changesets

Conversation

@TimPietruskyRunPod
Copy link
Copy Markdown
Contributor

Summary

  • Adds @changesets/cli to automate version bumping, changelog generation, and GitHub Release creation
  • New changesets.yml workflow: on merge to main, creates/updates a "Version Packages" PR; when that PR is merged, creates a GitHub Release which triggers the existing release.yml to build Docker images
  • Simplifies release.yml by removing the tag push trigger and manual release creation step (changesets handles both now)
  • Finalizes CHANGELOG.md at version 1.3.0 as the baseline for changesets
  • Rewrites CONTRIBUTING.md with the new automated release workflow docs

How it works

  1. Contributors run npx changeset in their PR branch and commit the .changeset/*.md file
  2. On merge to main → changesets action creates/updates a "chore: version packages" PR (bumps package.json, updates CHANGELOG.md)
  3. Version Packages PR is merged → changesets action creates a GitHub Release
  4. GitHub Release triggers release.yml → builds and pushes Docker images

Test plan

  • Merge this PR → changesets.yml runs, finds no pending changesets, checks for release 1.3.0 — should be a no-op (or create 1.3.0 release if it doesn't exist)
  • Create a test PR with npx changeset (pick patch, write a description) → merge it
  • Verify "chore: version packages" PR is auto-created with bumped version and updated CHANGELOG
  • Merge the "version packages" PR → verify GitHub Release is created → verify release.yml triggers

- Add @changesets/cli and @changesets/changelog-github for automated
  version bumping, changelog generation, and GitHub Release creation
- Add changesets.yml workflow: creates "Version Packages" PR on merge,
  then creates GitHub Release when that PR is merged
- Simplify release.yml: remove tag push trigger and manual release
  creation step (changesets handles this now)
- Finalize CHANGELOG.md at 1.3.0
- Rewrite CONTRIBUTING.md with new release workflow docs
- Add .gitignore for node_modules
@TimPietruskyRunPod TimPietruskyRunPod force-pushed the chore/automate-releases-with-changesets branch from de9a9c0 to 5107e4d Compare March 26, 2026 13:21
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