Skip to content

Commit ca81af0

Browse files
morozovddclaude
andcommitted
fix: publish from packages/cli dir so npm picks up README
npm publish --workspace runs from repo root, causing npm to miss the package-level README.md when populating registry metadata. Changed to working-directory: packages/cli with direct npm publish. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d6ef339 commit ca81af0

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/publish-cli.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,15 @@ jobs:
7575

7676
- name: Dry-run publish
7777
if: github.event_name == 'workflow_dispatch'
78-
run: npm publish --workspace packages/cli --access public --dry-run
78+
working-directory: packages/cli
79+
run: npm publish --access public --dry-run
7980
env:
8081
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8182

8283
- name: Publish to npm
8384
if: github.event_name == 'push' && steps.exists.outputs.publish == 'true'
84-
run: npm publish --workspace packages/cli --access public --provenance
85+
working-directory: packages/cli
86+
run: npm publish --access public --provenance
8587
env:
8688
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8789

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "clawdrive",
3-
"version": "0.1.7",
3+
"version": "0.1.8",
44
"description": "Google Drive for AI agents. Multimodal semantic search and 3D file visualization.",
55
"license": "MIT",
66
"type": "module",

0 commit comments

Comments
 (0)