fix: keep ClawHub publish dry-run preflight

Preserve the ClawHub CLI dry-run preflight while making the printed publish preview include CLAWHUB_WORKDIR. Add regression coverage that stubs the ClawHub CLI and verifies --dry-run is forwarded through the publish script.
This commit is contained in:
Val Alexander
2026-05-02 23:27:44 -05:00
committed by GitHub
parent b258c3fc65
commit 85c000de1e
2 changed files with 38 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ echo "Resolved source ref: ${source_ref:-<missing>}"
echo "Resolved ClawHub workdir: ${clawhub_workdir}"
echo "Publish auth: GitHub Actions OIDC via ClawHub short-lived token"
printf 'Publish command:'
printf 'Publish command: CLAWHUB_WORKDIR=%q' "${clawhub_workdir}"
printf ' %q' "${publish_cmd[@]}"
printf '\n'