less-watcher/publish.sh
2025-01-16 07:21:31 +01:00

15 lines
131 B
Bash

#!/bin/bash
tsc
if [ -z "$1" ]; then
msg="Updates"
else
msg="$1"
fi
git add .
git commit -m "$msg"
git push
bun publish