一键导入
tag-new-release
Create a new annotated git tag with release notes extracted from changelog files. Supports both macOS and Windows TinyClips release flows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new annotated git tag with release notes extracted from changelog files. Supports both macOS and Windows TinyClips release flows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | tag-new-release |
| description | Create a new annotated git tag with release notes extracted from changelog files. Supports both macOS and Windows TinyClips release flows. |
| argument-hint | --platform <mac|windows> [--version <tag>] (e.g., --platform mac --version v1.5.0-mac) |
| user-invocable | true |
Create a new annotated git tag for a release based on the project's platform changelog.
v1.5.0-mac or v1.0.9-windows.Request the release tag in chat (platform is required):
/tag-new-release --platform mac --version v1.5.0-mac
Or run the script directly from the repository root:
bash .github/skills/tag-new-release/tag-new-release.sh --platform mac --version v1.5.0-mac
On Windows, use PowerShell:
powershell -ExecutionPolicy Bypass -File .github/skills/tag-new-release/tag-new-release.ps1 -Platform windows -Version v1.0.9-windows
If --version is omitted:
v<Info.plist CFBundleShortVersionString>.0-mac (for example, v1.5.0-mac)v*-windows tag.When asked to tag a new release:
Check existing tags - Inspect recent git tags for the selected platform.
Determine release version:
mac/TinyClips/Info.plist CFBundleShortVersionString-windows patch tagRead platform changelog:
CHANGELOG.mdwindows/CHANGELOG.mdUpdate changelog - Insert the release heading with today's date below Unreleased.
Verify the working directory - Ensure there are no uncommitted changes before creating commit/tag.
Create commit - Commit the changelog release marker.
Create an annotated git tag with:
v1.5.0-mac, v1.0.9-windows)Confirm the tag - Show the created tag details to verify the tag name and message.
Suggest pushing the tag - Tell the user they can push with:
git push origin <tag-name>
Do not push the tag unless the user explicitly asks.
The tag message should include cleanly formatted release notes from the selected changelog entry for the release. Include all relevant sections, such as:
tag-new-release.sh - Script that automates changelog release marking, commit creation, and annotated tagging for macOS or Windows.tag-new-release.ps1 - PowerShell equivalent for running the same release-tag workflow natively on Windows.