一键导入
release-version
Update the application release version across all version files and regenerate the changelog. Use when the user wants to set a new release version.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update the application release version across all version files and regenerate the changelog. Use when the user wants to set a new release version.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Update CHANGELOG.md, CHANGELOG-ARCHIVE.md, debian/changelog, RPM spec, and info_history from a specific change. Asks for change name if not provided.
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
Push the current release to GitHub by creating a tag and release branch. Use after release-version to publish the release.
Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
| name | release-version |
| description | Update the application release version across all version files and regenerate the changelog. Use when the user wants to set a new release version. |
| license | MIT |
| metadata | {"author":"amaurycarvalho","version":"1.0"} |
Update the application release version across the codebase and regenerate all changelog-related files.
Input: Version string (e.g., 1.0.1.0). Must be provided by the user in the command or message. If omitted, show an error message and STOP.
Steps
Extract the version
Parse the version string from the user's message or command. The version should match the pattern X.Y.Z.W (four numeric segments separated by dots). Examples: 1.0.1.0, 2.0.0.0.
If no version is provided (the user did not include a version string in their message):
ERROR: No version provided.
Usage: /release-version <version>
Example: /release-version 1.0.1.0
Update app_version in appinfo.h
Read src/cli/appinfo.h and find the line containing #define app_version.
Replace the current value with the new version string:
#define app_version "<new-version>"
Update debian/changelog
Read debian/changelog and find the first line. It follows the format:
msxbas2rom (<old-version>-0) bionic; urgency=low
Replace <old-version> with <new-version>. Keep everything else unchanged.
Update rpm spec
Read rpmbuild/SPECS/msxbas2rom.spec and find the Version: field (typically line 2).
Replace the current version:
Version: <new-version>
Also update the date in the %changelog section to today's date (in the format Day Mon DD YYYY).
Verify consistency
Read back the modified files and confirm:
src/cli/appinfo.h has #define app_version "<new-version>"debian/changelog has the correct versionrpmbuild/SPECS/msxbas2rom.spec has the correct Version: fieldOutput On Success
Release version updated to <version>
Files updated:
- src/cli/appinfo.h (app_version)
- debian/changelog
- rpmbuild/SPECS/msxbas2rom.spec
Commentary: openspec-changelog skill can now be used manually to update the changelog files.
Output On Error
ERROR: No version provided.
Usage: /release-version <version>
Example: /release-version 1.0.1.0
Guardrails
X.Y.Z.W (e.g., 1.0.1.0)