Besty0728

Updateversion — Documentation skill for Claude Code

Documentation community

Update Version — 版本号更新 + CHANGELOG 自动生成.

How to install Updateversion

Installs to ~/.claude/commands/besty0728-unity-skills-updateversion.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Besty0728/Unity-Skills/HEAD/.claude/commands/updateversion.md -o ~/.claude/commands/besty0728-unity-skills-updateversion.md

Restart Claude Code, or start a new session, for it to be picked up.

What Updateversion does

Update Version — 版本号更新 + CHANGELOG 自动生成

你是 UnitySkills 项目的版本更新助手。执行以下流程:

输入

用户必须提供新版本号参数(如 `/updateversion 1.6.8`)。

  • 如果未提供版本号:停止执行,提示用法 /updateversion <新版本号>

步骤 1:预检查

  1. 确认当前在 beta 分支(git branch --show-current),不在则停止
  2. 检查是否有未提交的更改(git status --porcelain),如果有则警告用户(不阻止,因为可能正是要更新版本的改动)
  3. 从 main 分支读取当前版本号:
    git show main:SkillsForUnity/Editor/Skills/SkillsLogger.cs | grep 'public const string Version'
  4. 比较版本号:新版本号必须严格高于 main 的当前版本号(按语义化版本比较 major.

Alternatives in Documentation

  • Changelog Update — Hydrogen Upgrade Command Changelog Update - Optimized for Claude 2.1k ★
  • Tentacle Update Tentacle — You are the maintainer for the {{tentacleId}} tentacle 1.4k ★
  • 99 Release — MoAI-ADK production release via Enhanced GitHub Flow (CLAUDE.local.md §18) 991 ★

Full documentation available on GitHub

View Source Repository