Updated
On this page
Deprecate a past release with a soft yank (pre-release flag plus notice) or fully delete it with a hard yank while preserving the git tag.
#rlsbl yank
Mark a past release as deprecated (soft yank) or delete it (hard yank). Soft yank marks the GitHub Release as pre-release and prepends a deprecation notice. Hard yank deletes the release entirely while preserving the git tag.
#Flags
| Name | Short | Type | Default | Env | Description |
|---|---|---|---|---|---|
--reason | str | Why the version is being yanked | |||
--use | str | Replacement version to recommend | |||
--hard | bool | Delete the release instead of marking as pre-release | |||
--dry-run | bool | Preview without making changes |
#Arguments
| Name | Required | Description |
|---|---|---|
version | yes | Version to yank (e.g. 0.9.1 or v0.9.1) |