datasquirel/push.sh
Benjamin Toby d1c46db4cd Updates
2024-10-14 09:15:22 +01:00

14 lines
226 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/"
git add . && git commit -m "$msg" && git push