Skip to content

fix(ci): clawhub publish has no --dry-run flag#4

Merged
BenKalsky merged 1 commit into
mainfrom
fix/clawhub-workflow-dryrun
Jun 1, 2026
Merged

fix(ci): clawhub publish has no --dry-run flag#4
BenKalsky merged 1 commit into
mainfrom
fix/clawhub-workflow-dryrun

Conversation

@BenKalsky
Copy link
Copy Markdown
Member

Problem

The "Publish to ClawHub" manual run failed:

error: unknown option '--dry-run'
Usage: clawhub skill publish [options] <path>

clawhub skill publish supports --slug --name --owner --version --changelog --tags --fork-of --clawscan-note — but not --dry-run. (Auth and version-parse steps both succeeded; only the publish invocation broke.)

Fix

Emulate the dry-run preview without the unsupported flag: when dry_run is on, print the exact command that would run and exit 0. Real publishes call clawhub skill publish <dir> --version <v> as before.

Verification

  • ✅ Workflow YAML parses.
  • ▶️ After merge: re-run from the Actions tab with dry-run on (should succeed and print the command), then dry-run off for the real publish.

🤖 Generated with Claude Code

The publish run failed with `error: unknown option '--dry-run'` — the
`clawhub skill publish` command exposes no such flag. Emulate the dry-run
preview instead: print the exact command (auth + version are already
validated in earlier steps) and exit without uploading. Real publishes run
`clawhub skill publish <dir> --version <v>` unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@BenKalsky BenKalsky merged commit a6307c4 into main Jun 1, 2026
3 checks passed
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