Preserve native exit codes in the release wrapper

This commit is contained in:
2026-10-06 01:03:18 +00:00
parent 6b777dd861
commit 685cd8a64d
5 changed files with 118 additions and 3 deletions

View File

@@ -64,7 +64,9 @@ on success. Exit status 0 means publication is confirmed; status 1 means a
known failure or conflict; status 2 means invalid input or profile; status 3
means the push outcome remains unknown and requires resolution.
The CLI runs from the source tree being published, so this command also works
The wrapper builds the native CLI into ignored `.releasekit/bin`, then invokes
it directly to preserve its exit status. The CLI comes from the source tree
being published, so this command also works
for ReleaseKit's first release before any released ReleaseKit executable
exists. It uses the local Go toolchain. Preparation must finish before the
offline validation begins.