Delete a release and optionally its tag.

Section: Releases

Delete a release

bash
bash
gh release delete v1.2.3 --cleanup-tag --yes
Explanation

Delete a release and optionally its tag.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Releases
Delete a release asset
Delete a specific release asset.
OpenIn sheetbashsame section
List releases
List releases for a repository.
OpenIn sheetbashsame section
View a release
Show details for a release tag.
OpenIn sheetbashsame section
Create a release
Create a release and upload assets.
OpenIn sheetbashsame section
Create release notes automatically
Generate release notes automatically.
OpenIn sheetbashsame section
Upload release assets
Upload additional assets to a release.
OpenIn sheetbashsame section