diff options
| author | KunoiSayami <[email protected]> | 2022-10-25 02:01:42 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2022-10-25 02:01:42 +0800 |
| commit | 8aa2177d248e0a8d35ceb9355cc1d92f90a85aa0 (patch) | |
| tree | 0b779d3d750dc4ca5e64780f0a776f04c1e76bef /utils | |
| parent | 63edd5172a0ad645b068be70b71175e094c3571b (diff) | |
fix(script): Fix typo
* feat(docker): Add missing dependency
* fix(pkg): Add GPG key for ffmpeg-cuda
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'utils')
| -rwxr-xr-x | utils/ng/pkgbuild.py | 6 | ||||
| -rwxr-xr-x | utils/ng/upload.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/utils/ng/pkgbuild.py b/utils/ng/pkgbuild.py index ff52dc9..507d79c 100755 --- a/utils/ng/pkgbuild.py +++ b/utils/ng/pkgbuild.py @@ -278,7 +278,7 @@ async def run_build( return p.returncode -async def install_dep_via_yay(dep: str) -> None: +async def install_dependency_via_yay(dep: str) -> None: await ( await asyncio.create_subprocess_exec( "yay", @@ -323,7 +323,7 @@ async def do_build(target: PackageVersionWithPath) -> int: ) return ret else: - await install_dep_via_yay(dep) + await install_dependency_via_yay(dep) if ( gpg_keys := target.path.parent.joinpath(".gpg_keys") @@ -371,7 +371,7 @@ async def upload_packages() -> None: upload_token, ARCH, "--directory", - BuildEnvs.pkg_dest, + BUILD_ENVS.pkg_dest, stdout=None, ) ).wait() diff --git a/utils/ng/upload.py b/utils/ng/upload.py index 8ee5f18..07f8628 100755 --- a/utils/ng/upload.py +++ b/utils/ng/upload.py @@ -60,7 +60,7 @@ async def main(args: argparse.Namespace) -> int: if __name__ == "__main__": parser = argparse.ArgumentParser("upload.py") - parser.add_argument("remote_path") + parser.add_argument("remote_address") parser.add_argument("token") parser.add_argument("arch") parser.add_argument("--directory") |
