Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/publish-clawhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,9 @@ jobs:
env:
DRY_RUN: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run || 'false' }}
run: |
# `clawhub skill publish` has no --dry-run flag, so we emulate a preview
# by printing the exact command (auth + version already validated above)
# and exiting without uploading.
if [ "$DRY_RUN" = "true" ]; then
echo "Dry run — would publish:"
echo " clawhub skill publish $SKILL_DIR --slug wordpress-api-pro --name 'WordPress API Pro' --version ${{ steps.ver.outputs.version }}"
echo "Dry run — validating the publish without uploading:"
clawhub skill publish "$SKILL_DIR" --slug wordpress-api-pro --name "WordPress API Pro" --version "${{ steps.ver.outputs.version }}" --dry-run
exit 0
fi
clawhub skill publish "$SKILL_DIR" --slug wordpress-api-pro --name "WordPress API Pro" --version "${{ steps.ver.outputs.version }}"
Loading