Skip to content

fix(release): build cli shell binary in release workflow#119

Merged
TrueNine merged 1 commit intomainfrom
codex/fix-release-cli-shell-binary
Apr 1, 2026
Merged

fix(release): build cli shell binary in release workflow#119
TrueNine merged 1 commit intomainfrom
codex/fix-release-cli-shell-binary

Conversation

@TrueNine
Copy link
Copy Markdown
Owner

@TrueNine TrueNine commented Apr 1, 2026

Summary

  • build the tnmsc binary from tnmsc-cli-shell, which is the workspace package that actually owns the CLI executable
  • enable the SDK embedded-runtime feature through the CLI shell package so the packaged binary still embeds plugin-runtime.mjs
  • leave the packaging paths unchanged now that the expected target/.../release/tnmsc[.exe] artifact is produced again

Root Cause

Release Packages was compiling -p tnmsc, but tnmsc is the SDK library crate, not the CLI shell package with the [[bin]] name = "tnmsc" target. The build step succeeded, but the later package steps on macOS and Windows failed because target/<triple>/release/tnmsc was never created.

Validation

  • pnpm -F @truenine/memory-sync-cli run build
  • cargo build --release --target x86_64-unknown-linux-gnu -p tnmsc-cli-shell --features tnmsc/embedded-runtime
  • cargo test --release --target x86_64-unknown-linux-gnu -p tnmsc-cli-shell --features tnmsc/embedded-runtime

@TrueNine TrueNine merged commit 038d1c2 into main Apr 1, 2026
1 check passed
@TrueNine TrueNine deleted the codex/fix-release-cli-shell-binary branch April 1, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant