datasquirel/publish.sh
2024-11-06 12:28:04 +01:00

10 lines
148 B
Bash

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