release

Solid

Create a new versioned release with changelog. Bumps version in code, updates CHANGELOG.md, commits, tags, and pushes using the repository release flow. GitHub Actions creates the release and uses only the current changelog section as release notes. Use when the user says "release", "cut a release", "bump version", "new release".

AI & Automation 73 stars 34 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 84/100

Stars 20%
62
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Release — Version Bump, Tag, and Changelog Create a new release with a structured changelog and author attribution. ## Arguments - `<version>` — The version to release (e.g. `1.19.1`, `v2.0.0`). The `v` prefix is optional in input but always used for the git tag. If no version is given, detect the current version and suggest the next one (see Step 1). ## Constraints - Only **patch** (`x.y.Z`) or **minor** (`x.Y.0`) bumps. Never bump major — the module path has no `/vN` suffix, so a major bump would violate Go v2+ rules. - All version tags use the `v` prefix (e.g. `v1.20.0`). ## Workflow ### 0. Ensure on main and pull from upstream Verify you are on the `main` branch. If not, stash any pending work and switch: ```bash git branch --show-current ``` If not on `main`: `git stash && git checkout main` Then pull the latest upstream codebase: ```bash git pull upstream main --rebase ``` If there are merge conflicts, resolve them before proceeding. ### 1. Detect current version and suggest the next Read the current version and identify changes since the last tag: 1. Read the code version from `cmd/san/main.go`: ```bash grep 'var version = ' cmd/san/main.go ``` 2. Get the latest git tag: ```bash git describe --tags --abbrev=0 ``` Strip the `v` prefix for comparison. 3. **Compare.** If the code version and tag version differ, warn the user — the code may be out of sync with releases. 4. Get commits since the latest tag: ```bash git log ...

Details

Author
genai-io
Repository
genai-io/san
Created
1 years ago
Last Updated
today
Language
Go
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category