![]() |
![]()
| ![]() |
![]()
NAMEgh-release-download - Download release assets SYNOPSISgh release download [<tag>] [flags] DESCRIPTIONDownload assets from a GitHub release. Without an explicit tag name argument, assets are downloaded from the latest release in the project. In this case, --pattern or --archive is required. OPTIONS
OPTIONS INHERITED FROM PARENT COMMANDS
EXIT CODES0: Successful execution 1: Error 2: Command canceled 4: Authentication required NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. EXAMPLE# Download all assets from a specific release $ gh release download v1.2.3 # Download only Debian packages for the latest release $ gh release download --pattern '*.deb' # Specify multiple file patterns $ gh release download -p '*.deb' -p '*.rpm' # Download the archive of the source code for a release $ gh release download v1.2.3 --archive=zip SEE ALSOgh-release(1)
|