On this page
Release retry command that re-creates a GitHub Release to re-trigger CI/CD publish workflows after outages or missed event deliveries.
#rlsbl.commands.release_retry
#rlsbl.commands.release_retry
Release retry command that re-creates a GitHub Release to re-trigger CI/CD workflows.
When a GitHub Release exists but CI/CD never ran (e.g., GitHub Actions outage), this command deletes the release and re-creates it with the correct release notes. This fires a new release: published event, re-triggering the Publish workflow. It also re-uploads release assets if configured, and falls back to gh workflow run if the event still doesn't trigger workflows.
#_find_dispatch_workflows
def _find_dispatch_workflows()Scan .github/workflows/ for YAML files that contain workflow_dispatch.
Returns a list of filenames (not full paths) that support manual dispatch.
#run_cmd
def run_cmd(args, flags)Re-create a GitHub Release to re-trigger CI/CD workflows.
Deletes the existing GitHub Release for the given (or current) version and re-creates it with the same changelog notes. This fires a new release: published event. Re-uploads release assets if configured. Falls back to gh workflow run if no CI runs appear.
Args:
args: optional list where args[0] is the version to retry.flags: dict with keysdry-run,yes,quiet,watch.