mirror of
https://github.com/stablyai/orca.git
synced 2026-10-13 16:02:49 +00:00
Ships an already-QA'd RC as stable by rebuilding the same commit with only package.json's version field changed. Electron bakes the version into the installer, so artifact copy isn't viable — rebuilding from the exact RC tree is the closest we get to "same bits" while producing installers that self-report the correct stable version. Guards: ref must be an RC tag, RC release must exist and not be a draft, and the updater-safety gate (new > latest stable) still applies. Promote never pushes main — the stable tag is detached, same as any off-main release. Leaving `ref=main` (the default) auto-picks the highest unpromoted RC so the common case is a one-click operation; users can still type an explicit RC tag to promote an older one. Co-authored-by: Orca <help@stably.ai>