This role lets you find the asset URLs of the releases of GitHub projects.
Name |
Required |
Example |
Description |
owner |
yes |
SteamRE |
GitHub repo owner. |
repo |
yes |
DepotDownloader |
GitHub repo name. |
prefix |
yes |
depotdownloader- |
Pattern the asset filename must start with. |
suffix |
yes |
.zip |
Pattern the asset filename must end with. |
tag |
no |
v2.7.1 |
GitHub release tag. If omitted, latest is used. |
ratelimit |
no |
false |
If false, don't check if GitHub rate limit is reached, and don't wait for it to reset. The request will most likely fail. |
- include_role:
name: bviktor.github_release
vars:
owner: 'SteamRE'
repo: 'DepotDownloader'
prefix: 'depotdownloader-'
suffix: '.zip'
- include_role:
name: bviktor.github_release
vars:
owner: 'wp-cli'
repo: 'wp-cli'
tag: 'v2.7.1'
prefix: 'wp-cli-'
suffix: '.phar'
ratelimit: false
Key |
Type |
Example |
Description |
github_release.url |
string |
https://github.com/wp-cli/wp-cli/releases/download/v2.7.1/wp-cli-2.7.1.phar |
Download URL for the matching asset. |
Platform |
Support |
Status |
Linter |
✅ |
|
AlmaLinux 8 |
✅ |
|
AlmaLinux 9 |
✅ |
|
Fedora 37 |
✅ |
|
Ubuntu 18.04 |
✅ |
|
Ubuntu 20.04 |
✅ |
|
Ubuntu 22.04 |
✅ |
|