mirror of
https://github.com/bitbaum/kits.git
synced 2026-12-03 15:37:32 +01:00
ci-publish.sh read each package.json's old version with `git show
BEFORE:file | node`. For a package that did not exist before the push,
git exits 128, and under pipefail the assignment ended the whole run before
it printed anything: the main push that added datakit (#15) failed in 0.6 s.
Now the missing file reads as no old version, so a new package is a target.
Checked: CI_PUBLISH_DRY=1 with BEFORE=592949d on 14574b7 exited 128 before,
and says 'would publish datakit 0.1.0' after (already on npm, so the real
run skips it).
Claude-Session: https://claude.ai/code/session_019MDtmvTCDbJAYNKQpNyKzz
Co-authored-by: Claude <noreply@anthropic.com>