Skip to main content

push-tag

Push a version tag and optionally create a GitHub release

ソース情報

リポジトリ
spiriMirror/libuipc
ソースの最終更新活動
2026年3月26日 09:00
検出された SKILL.md の言語
英語
スター
335
フォーク
68

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
push-tag
description
Push a version tag and optionally create a GitHub release
disable-model-invocation
true
# Push Tag ## Overview Push a new tag to the upstream repository. Optionally create a GitHub release. ## Steps 1. **Verify branch** ```bash git branch --show-current ``` - Must be on `main` branch. If not, switch: `git checkout main` 2. **Determine tag version** ```bash git tag --list ``` - If user provides a tag: validate it doesn't exist and is greater than latest - If no tag provided: auto-increment patch version (e.g., `v1.2.3` → `v1.2.4`) 3. **Create and push tag** ```bash git tag <TAG> git push origin refs/tags/<TAG> ``` 4. **Create release (if requested)** - **Generate structured release notes** (do not use `--generate-notes`): 1. Get commits between previous tag and `<TAG>`: ```bash git log <PREV_TAG>..<TAG> --pretty=format:'%s' --no-merges ``` 2. **Summarize and structure** the changes into clear sections, e.g.: - **Features** – new functionality - **Fixes** – bug fixes - **Documentation** – docs, examples, guides - **Refactor / Chore** – internal changes, deps, tooling 3. **Write an overall summary** at the top of the release notes: a short paragraph describing the key themes, goals, or highlights of this release compared to the previous one. This gives readers a quick understanding of what changed and why. 4. Use concise, user-facing language. Group related changes. Avoid raw commit hashes or jargon unless helpful. 5. Write notes to a temp file (e.g. `release_notes.md`) and create the release: ```bash gh release create <TAG> --repo spiriMirror/libuipc --notes-file release_notes.md rm release_notes.md ``` **Note:** Always use `--repo spiriMirror/libuipc` to reference the upstream repository.
GitHubで見る