Skip to content

feat: add OpenCode release automation#5

Merged
terraboops merged 5 commits intomainfrom
feat/opencode-releases
Feb 3, 2026
Merged

feat: add OpenCode release automation#5
terraboops merged 5 commits intomainfrom
feat/opencode-releases

Conversation

@terraboops
Copy link
Collaborator

Summary

Add automated OpenCode-compatible plugin release generation to the agentic marketplace workflow.

Changes

New Script: opencode-release.js

  • Detects changed plugins from marketplace.json
  • Parses conventional commits for changelog generation
  • Creates zip packages with CHANGELOG.md and INSTALL.md
  • Creates GitHub releases with semantic tags (<plugin-name>-vYYYY.MM.DD)

Action Updates: agentic-marketplace/generate/action.yml

  • Add create-opencode-release input (default: false)
  • Add release-version input for custom versioning
  • Add OpenCode release step after marketplace generation
  • Add releases-created output

Workflow Updates: agentic-marketplace.yml

  • Pass through create-opencode-release and release-version inputs
  • Enable OpenCode releases when configured

Build Updates: scripts/build.js

  • Bundle opencode-release.js alongside discover-components.js
  • Create opencode-release.cjs in dist/

Workflow

When create-opencode-release: true is set:

  1. Marketplace generation runs as normal
  2. After PR creation, detect changed plugins
  3. For each changed plugin:
    • Compare against last release tag
    • Parse conventional commits (feat:, fix:, etc.)
    • Generate changelog and install guide
    • Create zip with plugin + docs
    • Create GitHub release with artifact

Release Format

Tags: bc-generate-sitrep-v2026.02.02

Artifacts: bc-generate-sitrep.zip containing:

  • Plugin directory structure
  • CHANGELOG.md (generated from commits)
  • INSTALL.md (installation instructions)

Usage

In consuming repositories:

jobs:
  update:
    uses: bitcomplete/bc-github-actions/.github/workflows/agentic-marketplace.yml@v1
    with:
      create-opencode-release: true

Testing

  • Script successfully bundles with esbuild
  • Conventional commit parsing handles feat/fix/other
  • Changelog generation formats markdown correctly
  • Date-based versioning generates YYYY.MM.DD format

Add GETTING_STARTED.md with step-by-step walkthrough:
- Repository structure setup
- Configuration examples
- First plugin creation
- Usage in Claude Code
- Troubleshooting common issues
- Links from main README and action docs
Add automated OpenCode-compatible plugin release generation to the
agentic marketplace workflow.

Changes:
- Add opencode-release.js script for release automation
- Detect changed plugins from marketplace.json
- Generate changelogs from conventional commits
- Package plugins as zips with CHANGELOG.md and INSTALL.md
- Create GitHub releases with date-based tags (plugin-name-vYYYY.MM.DD)
- Extend generate action with create-opencode-release input
- Update reusable workflow to pass through release parameters
- Bundle opencode-release.js in build process

Release workflow triggers on main branch when create-opencode-release
is enabled. Skips plugins with no changes since last release.
@terraboops terraboops merged commit f4c9576 into main Feb 3, 2026
4 checks passed
@terraboops terraboops deleted the feat/opencode-releases branch February 3, 2026 07:10
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