بنقرة واحدة
release-cli
Create GitHub releases for the Kubetail CLI by tagging the repo with the appropriate semver version.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create GitHub releases for the Kubetail CLI by tagging the repo with the appropriate semver version.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | release-cli |
| description | Create GitHub releases for the Kubetail CLI by tagging the repo with the appropriate semver version. |
| disable-model-invocation | true |
Tag and push a new semver release for the cli component.
Detect upstream remote — find the remote that points to kubetail-org/kubetail:
git remote -v | grep 'kubetail-org/kubetail' | head -1 | awk '{print $1}'
Store the result as {upstream}. If no remote matches, stop and ask the user which remote to use.
Verify branch and state:
git fetch {upstream} to update remote refsgit status -uno to confirm working tree is cleangit rev-parse HEAD and git rev-parse {upstream}/main to confirm HEAD is at {upstream}/mainIf working tree is dirty or HEAD is not at {upstream}/main, stop and ask the user to resolve before continuing.
Find latest CLI tag:
git tag --list "cli/v*" | sort -V | tail -1
Check for changes since latest tag — run:
git log {latest-tag}..HEAD --oneline -- modules/cli/ modules/dashboard/ modules/shared/ dashboard-ui/
Determine new version using semver — analyze commits:
Z+1): bug fixes, tests, docs, refactors, chores, ci changesY+1, reset Z=0): new backwards-compatible featuresX+1, reset Y=0, Z=0): breaking changesUse conventional commit prefixes as hints (fix: → patch, feat: → minor, BREAKING CHANGE → major), but read the actual messages to make a judgment call.
Confirm with user before tagging — present a summary:
Component | Current tag | New tag | Reason
----------|--------------|--------------|-------
cli | cli/v0.3.1 | cli/v0.4.0 | new feature: dark mode support
Wait for explicit user confirmation before proceeding.
Tag and push:
git tag -s cli/v{X.Y.Z} -m "release: cli/v{X.Y.Z}"
git push {upstream} cli/v{X.Y.Z}
Confirm the push succeeded.
--no-verify or --force when pushing tags.git status shows uncommitted changes, stop immediately and tell the user to commit or stash first.{upstream}/main, stop immediately and tell the user to check out {upstream}/main first.