2020-11-13 00:22:02 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
2024-02-04 01:33:17 +00:00
|
|
|
rsync -a --delete --exclude .git --exclude .gitignore --exclude repo.json ../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
|