← 返回
开发者工具 中文

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...
专业的 GitHub 发布工作流。适用场景:(1) 发布新版本;(2) 管理版本和标签;(3) 采用约定式提交;(4) 更新...
weapon3k
开发者工具 clawhub v1.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 656
下载
💾 19
安装
1
版本
#git#github#latest#release#workflow

概述

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

  • Full specification: github-release-workflow/SPEC.md
  • Keep a Changelog: https://keepachangelog.com/
  • Semantic Versioning: https://semver.org/
  • Conventional Commits: https://www.conventionalcommits.org/

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-29 08:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,164
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,796

QosmosPay Promoter

weapon3k
推广 QosmosPay 加密 Visa 卡,使用 USDT,通过分享和验证注册、存款及发卡获取佣金。
★ 0 📥 180