一键导入
release
Create a new version release by analyzing changes, bumping version, updating changelogs, committing, tagging, and pushing
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new version release by analyzing changes, bumping version, updating changelogs, committing, tagging, and pushing
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | Release |
| description | Create a new version release by analyzing changes, bumping version, updating changelogs, committing, tagging, and pushing |
This skill automates the entire release process for this project.
# Get the last release tag
git describe --tags --abbrev=0
# List all commits since the last tag
git log $(git describe --tags --abbrev=0)..HEAD --oneline --no-merges
# Check for uncommitted changes
git status --short
Categorize all changes into:
Follow Semantic Versioning:
Current version can be found in:
Cargo.toml (line ~3): version = "X.Y.Z"meson.build (line ~2): version: 'X.Y.Z'Update the version in these files:
Cargo.toml: version = "X.Y.Z"meson.build: version: 'X.Y.Z'Move content from [Unreleased] section to a new version section:
## [X.Y.Z] - YYYY-MM-DD
### Added
- Feature description
### Changed
- Change description
### Fixed
- Fix description
Reset the [Unreleased] section to empty placeholders.
Update the version header section (around line 14):
## 🎉 Version X.Y.Z - [Short Title]
**Karere X.Y.Z** brings [brief description of main changes].
### 🆕 What's New in X.Y.Z
- **Feature 1**: Description
- **Feature 2**: Description
Add a new <release> entry at the TOP of the <releases> section (after line 97):
<release version="X.Y.Z" date="YYYY-MM-DD">
<description>
<ul>
<li>Change description 1</li>
<li>Change description 2</li>
</ul>
</description>
</release>
File location: data/io.github.tobagin.karere.metainfo.xml.in
// turbo
cargo generate-lockfile
python3 tools/flatpak-cargo-generator.py Cargo.lock -o packaging/cargo-sources.json
Stage and commit with a detailed message:
git add .
git commit -m "Release vX.Y.Z
Changes in this release:
- [List main changes]
- [One per line]
Files updated:
- Cargo.toml, meson.build (version bump)
- CHANGELOG.md (release notes)
- README.md (version header)
- metainfo.xml.in (AppStream release)
- Cargo.lock, cargo-sources.json (dependencies)"
# Create annotated tag
git tag -a vX.Y.Z -m "Release vX.Y.Z"
# Push commits and tags
git push origin HEAD --tags
vX.Y.Z for tags (with the v prefix)YYYY-MM-DD<li> items)| File | Version Location | Purpose |
|---|---|---|
Cargo.toml | Line ~3 | Rust package version |
meson.build | Line ~2 | Build system version |
CHANGELOG.md | New section after line 8 | Detailed release notes |
README.md | Lines 14-22 | User-facing highlights |
data/io.github.tobagin.karere.metainfo.xml.in | After line 97 | AppStream metadata |