Files
csdemo/Protobufs/update.sh
2024-09-15 05:09:15 +02:00

15 lines
525 B
Bash
Executable File

#!/bin/bash
cd "$(dirname "$0")"
rsync -arhv --delete ../steamtrack/Protobufs/ ./steam/
rsync -arhv --delete ../backend/files/csgo/Protobufs/ ./csgo/
rsync -arhv --delete ../backend/files/dota/Protobufs/ ./dota2/
rsync -arhv --delete ../backend/files/deadlock/Protobufs/ ./deadlock/
rsync -arhv --delete ../backend/files/tf/Protobufs/ ./tf2/
cp -r ./steam/google ./
git add -A
git commit -S -a -m "$(git status --porcelain | wc -l) files | $(git status --porcelain | sed '{:q;N;s/\n/, /g;t q}' | sed 's/^ *//g')"
git push