Tachiyomi-Extensions/.github/scripts/commit-repo.sh

15 lines
353 B
Bash
Raw Normal View History

2020-11-13 00:22:02 +00:00
#!/bin/bash
set -e
rsync -a --delete --exclude .git --exclude .gitignore ../master/repo/ .
2024-01-09 03:14:00 +00:00
git config --global user.email "gitea@catgirlsneed.homes"
git config --global user.name "Homeless Catgirl"
2020-11-13 00:22:02 +00:00
git status
if [ -n "$(git status --porcelain)" ]; then
git add .
2024-01-09 03:14:00 +00:00
git commit -m "Upload APKs"
2020-11-13 00:22:02 +00:00
git push
else
echo "No changes to commit"
fi