datasquirel/push.sh

14 lines
227 B
Bash
Raw Normal View History

2023-12-15 10:08:23 +00:00
#!/bin/bash
2024-10-14 08:14:20 +00:00
root_dir=/media/benoti/Ubuntu-Disk/Github/dsql
2023-12-15 10:08:23 +00:00
if [ -z "$1" ]; then
msg="Updates"
else
msg="$1"
fi
2024-10-14 08:14:20 +00:00
cp "$root_dir/package-shared/types/*" "$root_dir/types/*"
2023-12-15 10:08:23 +00:00
git add . && git commit -m "$msg" && git push