This commit is contained in:
2026-07-14 09:10:30 +01:00
parent 79c5b896fe
commit 56462e6cc2
38 changed files with 1056 additions and 1720 deletions
+10 -3
View File
@@ -1,8 +1,8 @@
#!/bin/bash
set -e
set -euo pipefail
if [ -z "$1" ]; then
if [ -z "${1:-}" ]; then
msg="Updates"
else
msg="$1"
@@ -11,7 +11,14 @@ fi
tsc --noEmit
rm -rf dist
tsc
# Ensure CLI shebang survived compile
if ! head -1 dist/commands/index.js | grep -q '#!/usr/bin/env bun'; then
echo "ERROR: dist/commands/index.js is missing the bun shebang"
exit 1
fi
git add .
git commit -m "$msg"
git commit -m "$msg" || true
git push
bun publish