ワンクリックで
github-release
Use when the user asks Codex to publish a GitHub release for this project with a semantic version such as 0.1.3.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when the user asks Codex to publish a GitHub release for this project with a semantic version such as 0.1.3.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | github-release |
| description | Use when the user asks Codex to publish a GitHub release for this project with a semantic version such as 0.1.3. |
Run this repository's release workflow. The version must come from the user's request, for example $github-release 0.1.3 or "使用 github-release 发布 0.1.3".
x.y.z numeric semver, without a leading v.v{version} already exists with git tag -l "v{version}"; stop if it exists.Run git status.
If there are changes:
git diff --stat and git diff.If the worktree is clean, skip this step.
Check the current branch with git branch --show-current.
If already on main:
main with git push origin main.If on another branch:
main.main with git log main..{branch} --oneline.main.main with git push origin main.main; do not switch back unless the user asks.Update all release version references:
build_deb.sh: VERSION="x.y.z" -> VERSION="{version}"deb_package/DEBIAN/control: Version: x.y.z -> Version: {version}build_pkg.sh: VERSION="x.y.z" -> VERSION="{version}"Run:
git add build_deb.sh deb_package/DEBIAN/control build_pkg.sh
git commit -m "chore: 发布版本升至 v{version}"
Run:
git tag v{version}
git push origin main
git push origin v{version}
Build for the current OS:
if [ "$(uname)" = "Darwin" ]; then
bash build_pkg.sh
else
bash build_deb.sh
fi
If the build fails, stop and report the failure.
git describe --tags --abbrev=0 HEAD^.git log {previous_tag}..HEAD --oneline.## What's New
### 功能改进
- ...
### Bug 修复
- ...
---
### 安装
**Ubuntu/Debian:**
sudo dpkg -i claude-history_{version}_amd64.deb
sudo apt-get install -f
claude_history
**macOS:**
sudo installer -pkg claude-history_{version}_arm64.pkg -target /
claude_history
> 支持 Ubuntu 20.04+ 和 macOS (Apple Silicon),启动后自动在浏览器中打开 http://localhost:8787
Collect built assets from the repository root:
ASSETS=""
[ -f claude-history_{version}_amd64.deb ] && ASSETS+="claude-history_{version}_amd64.deb "
[ -f claude-history_{version}_arm64.pkg ] && ASSETS+="claude-history_{version}_arm64.pkg "
Create the release:
gh release create v{version} $ASSETS --title "v{version}" --notes "{release_note}"
Report the release URL when complete.