Skip to content

Commit 32c8cb9

Browse files
committed
cli: copy the README before publishing to npm
publish-npm-cli never created packages/cli/README.md, and npm silently skips a missing files entry, so @cortexkit/magic-context published with no README and npm shows "No README data found". Mirror publish-npm and copy the repo README into the package right before npm publish. Refs #850
1 parent 9dec91e commit 32c8cb9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,9 @@ jobs:
623623
- name: Build cli
624624
run: bun run --cwd packages/cli build
625625

626+
- name: Copy README for npm package
627+
run: cp README.md packages/cli/README.md
628+
626629
# Uses npm Trusted Publishing (OIDC) — must be configured on npmjs.com
627630
# for @cortexkit/magic-context before first release.
628631
- name: Publish to npm

0 commit comments

Comments
 (0)