technotive-math/update.sh

11 lines
181 B
Bash
Raw Normal View History

2025-04-06 17:13:51 +02:00
#!/bin/bash
if [ "$1" == "" ]; then
echo "Excpected a commit message when running $0"
exit 1
else
npm run build
git add dist/
git commit -m "$1"
git push
fi