chore: Updated build_push.yml

This commit is contained in:
Edgard Lorraine Messias 2024-06-24 14:10:06 -03:00 committed by GitHub
parent 8f0e646078
commit ce23a81969
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 23 deletions

View file

@ -11,8 +11,8 @@ VERSION_STR = "VersionCode ="
VERSION_REGEX = re.compile(f"{VERSION_STR} (\\d+)")
BUMPED_FILES: list[Path] = []
BOT_EMAIL = "aniyomi-bot@aniyomi.org"
BOT_NAME = "aniyomi-bot[bot]"
BOT_EMAIL = "134626626+almightyhak@users.noreply.github.com"
BOT_NAME = "almightyhak"
def has_match(query: str, file: Path) -> tuple[Path, bool]:
return (file, query in file.read_text())

View file

@ -2,8 +2,8 @@
set -e
rsync -a --delete --exclude .git --exclude .gitignore ../main/repo/ .
git config --global user.email "aniyomi-bot@aniyomi.org"
git config --global user.name "aniyomi-bot[bot]"
git config --global user.email "134626626+almightyhak@users.noreply.github.com"
git config --global user.name "almightyhak"
git status
if [ -n "$(git status --porcelain)" ]; then
git add .