apecloud/apecloud-cd/release-operations
Claude Code and agent skill by apecloud/apecloud-cd
- community
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-operationsSKILL.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
Utils
| Script | Purpose | |
|---|---|---|
| `.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
| Type | Operation | |
|---|---|---|
| 1 | Strip leading v from version | |
| 2 | Replace - with . in version | |
| 4 | Get latest release tag | |
| 8 | Delete GitHub release | |
| 10 | Delete Docker images | |
| 11 | Delete Aliyun images | |
| 14 | Get alpha/beta releases to delete | |
| 18 | Delete Aliyun images (new domain) | |
| 31 | Check release version | |
| 35 | Bump chart version |
Common Tasks
1. Delete an accidental release
2. Delete docker.io images
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 forrelease-notes-<tag>.mdartifact/cache.
release-delete.yml skipped deleting stable release
utils.sh --type 8refuses to delete stable releases unless--delete-force trueis 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 (
vstripping) and current branches. - If the rule changes, keep it in sync with
get-version.ymlandrelease-version.yml.
kbcli publish fails on Windows runner
publish-kbcli-choco.ymlruns onwindows-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_IDandGITHUB_REPOinputs. - The target repo must have the requested workflow on the specified
BRANCH_NAME. - Check
GITHUB_TOKENpermissions (needsactions:write).
Related Skills
- chart-release — chart release flow
- image-management — image check/push during release
- utils-common — full
utils.shusage
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
- SKILL.md in the repositoryCheckingskills/release-operations/SKILL.md
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
[](https://verified-skill.com/skills/apecloud/apecloud-cd/release-operations)