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

@@ -6,4 +6,6 @@ if [ "$#" -ne 1 ]; then
exit 2
fi
GOTOOLCHAIN=local exec go run ./cmd/releasekit publish "$1"
mkdir -p .releasekit/bin
GOTOOLCHAIN=local go build -o .releasekit/bin/releasekit ./cmd/releasekit
exec .releasekit/bin/releasekit publish "$1"