datasquirel/publish.sh
2023-12-15 11:08:23 +01:00

9 lines
134 B
Bash

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