A python script to download the latest GitHub Releases.
usage: main.py [-h] [--repo-file REPO_FILE]
[--base-dir BASE_DIR] [-v] [--clean-up]
optional arguments:
-h, --help show this help message and exit
--repo-file REPO_FILE
the path to a repo file
--base-dir BASE_DIR the path to the base dir
-v, --version show the version and exit
--clean-up whether to delete old artifacts or not
Set the environment variable HTTP_BASIC_AUTH
in the form of username:token
.
See also personal access tokens.
Generally, you should only grant the public_repo
access to the token.
Set the environment variable HTTP_PROXY
to an HTTP proxy.
Note: A certain bug of Python might cause issues with HTTP proxies, which was later fixed in Python 3.12.
MIT