YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(sdk-release): napi prepublish must skip its own publish + gh release
Louis Beaumont534feec277c6
diff --git a/.github/workflows/sdk-release.yml b/.github/workflows/sdk-release.ymlindex 87c817f65..25b324e13 100644--- a/.github/workflows/sdk-release.yml+++ b/.github/workflows/sdk-release.yml@@ -210,8 +210,16 @@ jobs:exit 1fidone+ # `napi prepublish` updates the main package.json so each+ # optionalDependency line matches the current version. By default+ # it ALSO publishes every platform tarball to npm AND creates a+ # GitHub Release with the binaries attached — both of those steps+ # need credentials and one of them creates side-effects we don't+ # want (we publish from our own loop below and don't want random+ # bot-authored GH releases). `--dry-run --skip-gh-release` keeps+ # only the metadata update.- name: Prepare npm packages- run: bun run prepublishOnly+ run: bun x napi prepublish -t npm --dry-run --skip-gh-release- name: Inspect package contentsrun: |npm pack --dry-run --ignore-scripts