GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - amestsantim/opencode-github-release: An OpenCode plugin that creates git tags and publishes GitHub releases with semantic versioning.

BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src
src
 
 
test
test
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

opencode-github-release

An OpenCode plugin that creates git tags and publishes GitHub releases with semantic versioning.

npm GitHub License: MIT

Installation

For OpenCode V2, add to your opencode.json:

{
  "plugins": ["opencode-github-release"]
}

For OpenCode V1 (1.18.29 or newer), use its V1 configuration key instead:

{
  "plugin": ["opencode-github-release"]
}

Restart OpenCode. The plugin loads automatically.

Usage

Ask OpenCode to create a release. The plugin provides create_release and suggest_bump tools. When you give a specific version or bump, create_release is called directly. When you don't, suggest_bump analyzes your commits first and asks for confirmation. Modes:

Auto-bump from latest tag:

Create a patch release
Create a minor release
Create a major release

Explicit version:

Release version 2.0.0

With release notes:

Create a patch release with notes "Fixed login bug"

Auto-suggest from git history:

Create a release

Suggest a bump (without releasing):

What version should I use?

Override dirty tree check:

Create a major release with force: true

How it works

When you request a release, the plugin fetches the latest git tag from the repository and computes the next version from it. If you specify a bump (patch/minor/major) or an explicit version, it creates the tag and release immediately. If you don't specify either (e.g., just "create a release"), the plugin instead runs suggest_bump — it analyzes commits since the latest tag using conventional commit conventions: fix → patch, feat → minor, BREAKING CHANGE → major — and presents the suggestion for your confirmation before proceeding.

If you don't provide release notes, the plugin automatically generates them from the commit history via gh release create --generate-notes.

create_release checks for uncommitted changes before proceeding. If the working tree is dirty, it returns a warning and asks you to commit, stash, or pass force: true.

It expects conventional commit messages (feat:, fix:, BREAKING CHANGE:) for accurate auto-suggestion. Commits that follow this convention are classified as:

  • fix: → patch bump
  • feat: → minor bump
  • BREAKING CHANGE: or feat!: / fix!: → major bump

Example output when running suggest_bump:

Latest tag: v0.1.0
Commits: 3

  [fix] a1b2c3d Fix login timeout
  [feat] e4f5g6h Add user dashboard
  [BREAKING] i7j8k9l Redesign auth API

Suggested bump: major -> v1.0.0

You can invoke suggest_bump directly at any time ("Suggest a bump") — it analyzes commits since the latest tag and recommends a bump without creating anything.

The suggest_bump tool works exceptionally well if your commit messages follow the conventional commits specification.

There are commit skills such as (https://github.com/PedroHBO/opencode-config-skills/tree/main/skills/git-commit) that makes it all automatic and seamless.

Prerequisites

  • Git
  • GitHub CLI (gh) authenticated to your account
  • The current directory must be a git repository with a remote named origin

Git commands run in the session's working directory. Release creation pushes commits and tags to origin and publishes through gh; verify the proposed version before proceeding.

Development

npm install
npm run typecheck
npm test
npm pack --dry-run

License

MIT

About

An OpenCode plugin that creates git tags and publishes GitHub releases with semantic versioning.

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.