datasquirel/publish.sh
2024-11-08 16:45:41 +01:00

10 lines
179 B
Bash

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