Skip to content

Conversation

@rgarcia
Copy link
Contributor

@rgarcia rgarcia commented Jan 8, 2026

Summary

  • Add a GitHub Actions workflow to automate CLI releases on tag push
  • Update DEVELOPMENT.md with simplified release instructions
  • Release process is now: just push a version tag (e.g., git tag -a v1.2.3 -m "Version 1.2.3" && git push origin v1.2.3)

Required Secrets

Before using, configure these secrets in the repository settings:

Secret Description
GORELEASER_KEY GoReleaser Pro license key (in 1pw)
NPM_TOKEN npm access token for publishing @onkernel/cli (in 1pw)
HOMEBREW_TAP_TOKEN GitHub PAT with write access to onkernel/homebrew-tap repo

What the workflow does

  1. Triggers on push of v* tags
  2. Checks out code with full history
  3. Sets up Go and Node.js
  4. Runs make clean-templates to remove node_modules/.venv from templates
  5. Runs goreleaser-pro to:
    • Build binaries for darwin/linux/windows × amd64/arm64
    • Create GitHub release with changelog
    • Publish to npm as @onkernel/cli
    • Commit updated Homebrew formula to onkernel/homebrew-tap

Test plan

  • Add the required secrets to the repository
  • Push a test tag to verify the workflow runs successfully
  • Verify GitHub release is created
  • Verify npm package is published
  • Verify Homebrew formula is updated in the tap repo

Note

Automates CLI releases via GitHub Actions and updates docs accordingly.

  • Adds ./.github/workflows/release.yaml to trigger on v* tags, set up Go/Node, clean templates, and run goreleaser-pro with GH_PAT, GORELEASER_KEY, and NPM_TOKEN
  • Rewrites DEVELOPMENT.md to document tag-based releases, required secrets, and optional local dry-run
  • Removes legacy scripts/release.sh manual tagging/release script

Written by Cursor Bugbot for commit 2164fc0. This will update automatically on new commits. Configure here.

Automate CLI releases via GitHub Actions triggered by pushing version tags.
The workflow uses goreleaser-pro to build binaries, publish to npm, and
update the Homebrew tap.

Required secrets: GORELEASER_KEY, NPM_TOKEN, HOMEBREW_TAP_TOKEN
The script conflicts with the new GitHub Actions release workflow since
it runs `make release` after pushing a tag, which would race with the
automated workflow.
The GitHub PAT needs write access to both this repo (for creating
releases) and the homebrew-tap repo (for updating the formula).
Renamed to GH_PAT and updated docs to clarify required permissions.
@rgarcia rgarcia merged commit 22aa3e5 into main Jan 8, 2026
2 checks passed
@rgarcia rgarcia deleted the rgarcia/add-release-workflow branch January 8, 2026 18:13
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.

2 participants