github-release
Installation
SKILL.md
GitHub Release Skill
Critical Rules
NEVER run gh release create or gh release delete.
These commands are blocked by hooks. GitHub immutable releases (GA Oct 2025) make tag names permanent — a lightweight tag created by gh release create burns that tag name forever with no recovery path. CI handles release creation from signed tags.
gh release edit is allowed ONLY for --notes / --notes-file to overhaul the release description after CI publishes. All other gh release edit flags are blocked.
Release Flow
- Detect ecosystem — identify version files for the project type (see
references/ecosystem-detection.md) - Determine next version — based on conventional commits or user input (major/minor/patch)
- Bump version files — update all ecosystem-specific version files consistently
- Update CHANGELOG.md — add release section with date and changes
- Create release branch and PR —
release/vX.Y.Zbranch, open PR for review - After PR merge — create signed annotated tag:
git tag -s vX.Y.Z -m "vX.Y.Z" - Push tag —
git push origin vX.Y.Ztriggers CI workflow - CI publishes release — with artifacts, checksums, and auto-generated release notes
- Overhaul release description — rewrite the auto-generated notes into a narrative summary in a local file, then apply with
gh release edit vX.Y.Z --notes-file notes.md. Use--notes-file(not--notes "...") so multi-line Markdown doesn't trip over shell quoting. - Do NOT re-run the release workflow after step 9 — many release workflows (e.g.
softprops/action-gh-release) regenerate the body from the commit log on every run and will overwrite the manual overhaul. If a downstream job (TER publish, artifact upload) needs a retry, use a dedicated dispatcher workflow (seereferences/ter-republish.mdfor the TYPO3 pattern).
Commands
/release— full release flow (detect, bump, PR, tag)/release-prepare— bump versions and open PR only (no tag)/release-status— check release health (version drift, unsigned tags, missing workflows)
Delegation
- Supply chain security (SLSA, SBOMs, attestations): delegate to
enterprise-readinessskill - Branch strategy and conventional commits: delegate to
git-workflowskill
References
references/release-process.md— complete flow documentationreferences/ecosystem-detection.md— version file patterns per ecosystemreferences/immutable-releases.md— GitHub immutable releases and tag burningreferences/supply-chain-security.md— SLSA, Sigstore, SBOMs, attestationsreferences/recovery-procedures.md— burned tags, stuck drafts, version drift, release-body clobbering after manual overhaul, mis-tagged SemVer releases, branch-protection gotchasreferences/ter-republish.md— TYPO3 Extension Repository re-publish patterns (workflow_dispatch-only caller, codepoint-safe comment truncation, v-prefix + bare-version tag compatibility)references/ci-workflow-templates.md— CI workflow structure and templates