Skip to main content

release

Release a new version of minitest-cli. Use when the user says "release", "tag a new version", "bump version", "create a release", or "publish". Determines the next semver tag from git history, updates pyproject.toml, syncs the lockfile, commits, tags, and pushes.

来源信息

仓库
minitap-ai/minitest-cli
最近来源活动
2026年10月29日 07:37
检测到的 SKILL.md 语言
英语
星标
1
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
release
description
Release a new version of minitest-cli. Use when the user says "release", "tag a new version", "bump version", "create a release", or "publish". Determines the next semver tag from git history, updates pyproject.toml, syncs the lockfile, commits, tags, and pushes.
# Release minitest-cli ## Process ### 1. Determine the next version Fetch all existing tags and the commits since the latest tag: ```bash git fetch --tags git tag -l 'v*' --sort=-v:refname # find latest tag git log <latest-tag>..HEAD --oneline # commits since last release ``` Apply semver rules to the commit list: | Condition | Bump | |-----------|------| | Any commit message **breaks** backward compatibility (`BREAKING CHANGE`, `!:`) | **major** (X.0.0) | | At least one `feat:` commit | **minor** (0.X.0) | | Only `fix:`, `docs:`, `test:`, `chore:`, `refactor:`, `style:`, `perf:`, `ci:` | **patch** (0.0.X) | Present the suggested version and commit summary to the user. Wait for confirmation before proceeding. ### 2. Bump version ```bash # Edit pyproject.toml version field # Then sync lockfile uv sync ``` ### 3. Commit, tag, push ```bash git add pyproject.toml uv.lock git commit -m "release: v<VERSION>" git tag v<VERSION> git push origin HEAD git push origin v<VERSION> ``` The tag push triggers the release workflow (refresh the bundled skill's references, PyPI publish, GitHub Release). The agent skill ships inside the wheel, so there is no paired agent-skills PR to merge.
在 GitHub 查看