aboutsummaryrefslogtreecommitdiff
path: root/utils/aur
diff options
context:
space:
mode:
authorMagomeYae <[email protected]>2021-12-09 23:34:47 +0800
committerMagomeYae <[email protected]>2021-12-09 23:34:47 +0800
commit64e9a5e5ce477f54132318fe1c7f8b193ee20aa6 (patch)
treee1168e10d43074afcaee3ed7c96a21160f07ef3a /utils/aur
parent31a332342e1482a404683724cfcfe94729b17906 (diff)
fix(ci): Fix auto check update script not working properly
Signed-off-by: MagomeYae <[email protected]>
Diffstat (limited to 'utils/aur')
-rwxr-xr-xutils/aur/aur-check-update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/aur/aur-check-update.py b/utils/aur/aur-check-update.py
index bc79cdc..f17f280 100755
--- a/utils/aur/aur-check-update.py
+++ b/utils/aur/aur-check-update.py
@@ -113,7 +113,7 @@ async def aur_check_update(session: aiohttp.ClientSession, item: Path, dry_run:
return
if item.joinpath('.git').exists():
if not dry_run:
- await asyncio.create_subprocess_exec('git', '-C', f'{str(item)}', 'pull')
+ await asyncio.create_subprocess_exec('git', '-C', f'{str(item)}', 'pull', 'origin', 'master')
logging.info(f'Upgrade {item.name} from {version} to {new_version}')
else:
logging.info(f'Found update {item.name}({version}) (local: {new_version})')