一键导入
release-taptap-minigame-unity
Release the TapTap MiniGame Unity SDK from develop to main, including version checks, PR merge, Git tag, and GitHub Release.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Release the TapTap MiniGame Unity SDK from develop to main, including version checks, PR merge, Git tag, and GitHub Release.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | release-taptap-minigame-unity |
| description | Release the TapTap MiniGame Unity SDK from develop to main, including version checks, PR merge, Git tag, and GitHub Release. |
Use this skill when releasing this repository from develop to main.
This repository publishes Unity package releases from the main branch.
The established flow is:
develop.develop to main.main merge commit with the package version.Tags are expected to point at main, not at the original auto-build commit on develop.
Run these checks before creating a PR:
git status --short --branch
git fetch origin main develop --tags
git diff --stat origin/main..origin/develop
git diff origin/main..origin/develop -- package.json CHANGELOG.md README.md
Confirm:
package.json has the target package version.CHANGELOG.md has a top entry for the same target version.git ls-remote --tags origin
git tag --list
Check GitHub release state:
gh release list --repo taptap/TapTapMiniGameSDK-Unity --limit 20
The version source of truth is:
package.json field: versionCHANGELOG.md top release section2.0.192.0.19The changelog follows this shape:
## [2.0.19] - 2026-06-01
### Added
1. 支持新版支付接口
If no open PR exists from develop to main, create one:
gh pr list \
--repo taptap/TapTapMiniGameSDK-Unity \
--head develop \
--base main \
--state open
gh pr create \
--repo taptap/TapTapMiniGameSDK-Unity \
--base main \
--head develop \
--title "Develop" \
--body "2.0.19
支持新版支付接口"
Use the actual target version and changelog summary in the PR body.
Inspect the PR before merging:
gh pr view <number> --repo taptap/TapTapMiniGameSDK-Unity
gh pr diff <number> --repo taptap/TapTapMiniGameSDK-Unity --stat
Merge with the repository default merge behavior unless the repo UI or maintainers require another method:
gh pr merge <number> --repo taptap/TapTapMiniGameSDK-Unity --merge
After the PR is merged, update local main:
git fetch origin main develop --tags
git switch main
git pull --ff-only origin main
Create an annotated tag on the updated main HEAD:
git tag -a 2.0.19 -m "2.0.19"
git push origin 2.0.19
Use the actual target version. Do not tag develop directly.
Recent public releases 2.0.17 and 2.0.18 were normal releases, not prereleases. Create the new release as a normal release unless maintainers explicitly request a prerelease.
gh release create 2.0.19 \
--repo taptap/TapTapMiniGameSDK-Unity \
--target main \
--title "2.0.19" \
--notes "2.0.19"
If maintainers want richer notes, use the top CHANGELOG.md entry instead.
Verify the final state:
git ls-remote --tags origin | grep 'refs/tags/2.0.19'
gh release view 2.0.19 \
--repo taptap/TapTapMiniGameSDK-Unity \
--json tagName,name,isPrerelease,isDraft,publishedAt,targetCommitish,url
git show --format=fuller --no-patch 2.0.19
Confirm:
main commit.main contains the same package version and changelog entry.