mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 16:02:32 +00:00
If a cut pushes the tag but the workflow is cancelled (or the dependent release.yml job otherwise fails to start) before a GitHub release is published, every subsequent patch cut recomputes the same version and dies on "Tag already exists." This wedged the pipeline on 2026-05-01 when v1.3.26 was pushed by cancelled run 25237882049 — patch cuts kept failing for hours until release.yml was dispatched by hand. When the tag exists but no published release is attached, skip the bump/push steps and emit the existing tag as the job output so release.yml runs against it and finishes what the prior attempt started. Still refuse the collision when a real published release exists — that's a genuine conflict (e.g. a hand-tagged version) and needs human attention. Co-authored-by: Orca <help@stably.ai>