diff options
| author | MagomeYae <[email protected]> | 2021-12-09 23:34:47 +0800 |
|---|---|---|
| committer | MagomeYae <[email protected]> | 2021-12-09 23:34:47 +0800 |
| commit | 64e9a5e5ce477f54132318fe1c7f8b193ee20aa6 (patch) | |
| tree | e1168e10d43074afcaee3ed7c96a21160f07ef3a | |
| parent | 31a332342e1482a404683724cfcfe94729b17906 (diff) | |
fix(ci): Fix auto check update script not working properly
Signed-off-by: MagomeYae <[email protected]>
| -rwxr-xr-x | utils/aur/aur-check-update.py | 2 |
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})') |
