datasquirel/push.sh
Benjamin Toby f658489468 Updates
2024-10-14 09:17:16 +01:00

18 lines
284 B
Bash

#!/bin/bash
root_dir=/media/benoti/Ubuntu-Disk/Github/dsql
if [ -z "$1" ]; then
msg="Updates"
else
msg="$1"
fi
cp "$root_dir/package-shared/types/"* "$root_dir/types/" ||
{
echo "Copy Failed!"
exit 1
}
git add . && git commit -m "$msg" && git push