跳至主要内容
小龙虾小龙虾AI
🤖

GitHub Release Workflow

Professional GitHub release workflow. Use when: (1) releasing a new version, (2) managing versions and tags, (3) following conventional commits, (4) updating...

下载286
星标0
版本1.1.0
开发工具
安全通过
💬Prompt

技能说明


name: github-release-workflow description: "Professional GitHub release workflow. Use when: (1) releasing a new version, (2) managing versions and tags, (3) following conventional commits, (4) updating README and docs, (5) setting up CI/CD for releases." metadata: { openclaw: { emoji: "🚀" }, }

GitHub Release Workflow Skill

A standardized workflow for professional GitHub releases.

IMPORTANT: Always update README.md and documentation before releasing!

Prerequisites

  • Git installed
  • GitHub CLI (gh) authenticated
  • Git repository initialized

Quick Commands

Full Release Flow

# 1. Ensure clean working tree
git status

# 2. Run tests and format
pip install -e ".[dev]"
pytest
black lib/ tests/

# 3. Update version in pyproject.toml
# Edit: version = "2.1.0"

# 4. Update CHANGELOG.md
# Add new section with today's date

# 5. Update README.md (IMPORTANT!)
# - Update version badge
# - Update features list
# - Update project structure if changed
# - Update roadmap table

# 6. Update other docs as needed
# - docs/*.md
# - API documentation
# - Examples

# 7. Stage and commit
git add .
git commit -m "release: v2.1.0 - Description"

# 8. Create tag
git tag -a v2.1.0 -m "Version 2.1.0"

# 9. Push
git push
git push origin v2.1.0

README Update Checklist

When releasing a new version, always update README.md:

ItemDescription
Version badgeUpdate version-x.x.x-blue
Features listAdd new features, remove deprecated
Project structureReflect new files/directories
InstallationUpdate if deps changed
UsageAdd new examples if needed
RoadmapMove current version to done, add next
API docsUpdate if API changed

Conventional Commits Format

<type>(<scope>): <description>

Types: feat, fix, docs, style, refactor, test, chore, release

Examples:

  • feat(memory): add SQLite support
  • fix(vitality): correct energy calculation
  • docs: update README

Version Format

MAJOR.MINOR.PATCH
- MAJOR: Breaking changes
- MINOR: New features (backward compatible)
- PATCH: Bug fixes

Branch Strategy

main (stable)
  ↑
develop (integration)
  ↑
feature/* (new features)

GitHub Release (Optional)

gh release create v2.1.0 \
  --title "Version 2.1.0" \
  --notes "Release notes"

See Also

如何使用「GitHub Release Workflow」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「GitHub Release Workflow」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能