搜索

PythonReactSEOPDF
GitHub Skill

release-beta

Release a new beta version - bumps versions in both package.json files, commits, tags, and pushes

carrotwaxr☆ 23 仓库 Stars4 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Release Beta Version

Version Convention

Beta versions follow this pattern: X.Y.Z-beta.N

  • Increment beta number (e.g., 3.2.2-beta.3 → 3.2.2-beta.4)
  • For new minor/patch, reset to beta.1 (e.g., 3.2.2-beta.3 → 3.2.3-beta.1)

Pre-Flight Checks

  1. Ensure you're on main branch and it's up to date
  2. Check current version: look at client/package.json version field
  3. Determine next version based on convention above

Release Steps

Step 1: Update Versions

Edit BOTH files to the SAME new version:

  • client/package.json - update "version" field
  • server/package.json - update "version" field

CRITICAL: Both files must have identical version strings.

Step 2: Commit
git add client/package.json server/package.json
git commit -m "chore: bump version to X.Y.Z-beta.N"
Step 3: Push to Main
git push origin main
Step 4: Create and Push Tag

The tag MUST match the version with a v prefix:

git tag vX.Y.Z-beta.N
git push origin vX.Y.Z-beta.N

Example: Version 3.2.3-beta.1 → Tag v3.2.3-beta.1

Common Mistakes to Avoid

  • ❌ Forgetting to update one of the package.json files
  • ❌ Tag doesn't match version (missing v prefix or typo)
  • ❌ Pushing tag before pushing commit
  • ❌ Creating tag on wrong branch

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-28
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!