apecloud/apecloud-cd/release-operations

Claude Code and agent skill by apecloud/apecloud-cd

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

GitHub release lifecycle: release create/delete, release notes, release branch selection, version check, trigger workflow, publish kbcli to Chocolatey/Scoop/WinGet, utils.sh type 8/10/11. Use when a release pipeline fails, rolling back a release, publishing kbcli packages, or validating release versions.

Install

npx vskill@latest install apecloud/apecloud-cd/release-operations

SKILL.md

The same SKILL.md was published earlier as apecloud/apecloud-cd/release-operations.

Release Operations

This skill covers release lifecycle and metadata management: create, delete, notes, version checks, and branch selection.

Related Files

Workflows
WorkflowPurpose
`.github/workflows/release-create.yml`Create GitHub release (pre/RC/stable)
`.github/workflows/release-delete.yml`Delete GitHub release, charts, images
`.github/workflows/release-delete-cloud.yml`Delete cloud release
`.github/workflows/release-delete-schedule.yml`Scheduled release deletion
`.github/workflows/release-notes.yml`Generate release notes
`.github/workflows/update-release-notes.yml`Update release notes
`.github/workflows/release-version.yml`Release version handling
`.github/workflows/check-release-version.yml`Check release version number
`.github/workflows/release-branch.yml`Get release branch for a version
`.github/workflows/get-version.yml`Get version number
`.github/workflows/trigger-release.yml`Trigger release workflow
`.github/workflows/publish-kbcli-choco.yml`Publish kbcli to Chocolatey
`.github/workflows/publish-kbcli-scoop.yml`Publish kbcli to Scoop bucket
`.github/workflows/publish-kbcli-winget.yml`Publish kbcli to WinGet
`.github/workflows/trigger-workflow.yml`Trigger a workflow in another repo
Utils
ScriptPurpose
`.github/utils/utils.sh`Swiss-army knife: delete release (type 8), delete images (types 10/11/18), get latest tag (type 4), etc.
`.github/utils/release_gitlab.sh`GitLab/Jihulab release operations
`.github/utils/generate_release_notes.py`Generate release notes
`.github/utils/is_rc_or_stable_release_version.py`Determine RC or stable release
`.github/utils/parse_time.py`Time parsing helper

utils.sh Type Quick Reference

TypeOperation
1Strip leading v from version
2Replace - with . in version
4Get latest release tag
8Delete GitHub release
10Delete Docker images
11Delete Aliyun images
14Get alpha/beta releases to delete
18Delete Aliyun images (new domain)
31Check release version
35Bump chart version

Common Tasks

1. Delete an accidental release
bash
# Delete GitHub release
bash ./.github/utils/utils.sh --type 8 \
--github-repo apecloud/kubeblocks \
--tag-name v0.4.0 \
--github-token $GITHUB_TOKEN
2. Delete docker.io images
bash
bash ./.github/utils/utils.sh --type 10 \
--tag-name v0.4.0 \
--docker-user $DOCKER_USER \
--docker-password $DOCKER_PASSWORD
3. Get release branch

release-branch.yml automatically selects the release branch based on version number. When changing rules, keep it consistent with get-version.yml.

4. Generate release notes

release-notes.yml typically works with generate_release_notes.py. When modifying templates/formats, update both the script and workflow output.

Troubleshooting

release-create.yml creates a draft instead of a real release
  • A pre-release is created when release notes are not found for the repo.
  • For apecloud/apecloud, the workflow looks for release-notes-<tag>.md artifact/cache.
release-delete.yml skipped deleting stable release
  • utils.sh --type 8 refuses to delete stable releases unless --delete-force true is passed.
  • This protection is intentional; use force only when rolling back an accidental release.
release-branch.yml returns the wrong branch
  • The branch selection logic depends on the version prefix (v stripping) and current branches.
  • If the rule changes, keep it in sync with get-version.yml and release-version.yml.
kbcli publish fails on Windows runner
  • publish-kbcli-choco.yml runs on windows-2019. Chocolatey package updates can fail due to

upstream bucket changes; check the apecloud-inc/chocolatey-packages repository.

trigger-workflow.yml did not trigger the target workflow
  • Verify WORKFLOW_ID and GITHUB_REPO inputs.
  • The target repo must have the requested workflow on the specified BRANCH_NAME.
  • Check GITHUB_TOKEN permissions (needs actions:write).

Related Skills

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/apecloud/apecloud-cd/release-operations/badge)](https://verified-skill.com/skills/apecloud/apecloud-cd/release-operations)

Something wrong with this skill or its page? Tell us.