From cfd0f841fed3f4749d8b3fbc5ea425acb85d9aae Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Thu, 26 Mar 2026 19:20:21 -0700 Subject: [PATCH] fix(release): adjust argument parsing for OpenHuman binary in release workflow - Updated the release workflow to ensure the `--bin OpenHuman` argument is correctly passed to Cargo by adding an additional separator. This change addresses an issue with Yarn v1 stripping the argument layer, improving the build process for standalone binaries. --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ecbe2f1d6..80a519e1e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -326,7 +326,9 @@ jobs: # to copy/sign inside release app bundles. # Build/package only the app binary to keep standalone CLI bins # out of the signed macOS app bundle. - args: -c ${{ steps.config-overrides.outputs.json }} ${{ matrix.settings.args }} -- --bin OpenHuman + # Yarn v1 strips one "--" layer when invoking scripts. + # Keep a second separator so `--bin OpenHuman` reaches cargo. + args: -c ${{ steps.config-overrides.outputs.json }} ${{ matrix.settings.args }} -- -- --bin OpenHuman includeDebug: false includeRelease: true releaseId: ${{ needs.create-release.outputs.release_id }}