datasquirel/push.sh
Benjamin Toby 6a358313cb Updates
2024-10-14 09:14:20 +01:00

14 lines
227 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