feat: implement automated releases with semantic-release#29
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR transitions releases from a manual tag-driven flow to a semantic-release-based automation setup, including npm publishing from packages/cli and a follow-up Homebrew formula update after the npm tarball is available.
Changes:
- Add
semantic-release(+ standard plugins) and a rootrelease.config.cjstargetingpackages/clifor npm publishing. - Replace the existing tag-triggered GitHub Actions release workflow with a
workflow_dispatch-drivensemantic-releaserun plus Homebrew update logic (with retry/polling). - Update lockfile for the new release toolchain dependencies.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| release.config.cjs | Defines semantic-release branches/tags and plugin pipeline (npm publish from packages/cli). |
| .github/workflows/release.yml | Implements the new release workflow steps (semantic-release + Homebrew update + retry). |
| package.json | Adds semantic-release and plugin devDependencies. |
| pnpm-lock.yaml | Locks the new release dependency graph. |
| .beads/dolt-monitor.pid.lock | Adds a (currently empty) lockfile under .beads/. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🎉 This PR is included in version 1.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Transitioned the release process from manual tag-matching to an automated workflow using
semantic-release.To ensure consistent versioning, automated changelog generation, and reliable distribution across npm, GitHub, and Homebrew without manual intervention.
Changes
semantic-releaseand its standard plugin suite (commit-analyzer, release-notes-generator, npm, github, exec) to the root project.release.config.cjsto manage the release lifecycle, specifically targeting thepackages/clidirectory for npm publishing..github/workflows/release.ymlto trigger on themainbranch, incorporating automated versioning and dependency checks.dry_runinput to the manual workflow trigger for testing release logic without side effects.Behavior Impact
mainbranch.semantic-releaseregarding version bumps and changelog generation.mainbranch.Testing
pnpm test(Integrated into release workflow)pnpm typecheck(Integrated into release workflow)pnpm checks(Integrated into release workflow)Coding Agent Checklist (if used)
AGENTS.mdand relevant.agents/*docssrc/)Docs
.agentsdocs updated (if needed)Risks / Follow-Ups
NPM_TOKENandHOMEBREW_TAP_TOKENare correctly configured in GitHub Secrets. Verify Conventional Commit adherence across the team.🥞 DubStack