Closed tsawyer closed 10 months ago
This is a private repo, so you have to use the API get get release assets. This is a two step process, as you have to find the internal asset ID first.
curl -L -H 'Authorization: token <your_token>' https://api.github.com/repos/AllStarLink/asl3-asterisk/releases/tags/v0.0.2.fadead4-3
Look for the asset url:
"assets": [
{
"url": "https://api.github.com/repos/AllStarLink/asl3-asterisk/releases/assets/134073241",
"id": 134073241,
"node_id": "RA_kwDOKjwX-M4H_cuZ",
"name": "asl3-asterisk-20.5.0+asl3-0.0.2.fadead4-3.tar.gz",
Then get that asset
curl -vLJO -H 'Authorization: token <your_token> -H "Accept:application/octet-stream" "https://api.github.com/repos/AllStarLink/asl3-asterisk/releases/assets/134073241"
Thanks @encbar5. I'll have a look at that process.
This doesn't work. Gives a 404. I can grab the source files so it appears there's something in the deb file name wget doesn't like. How do we wget or otherwise download the debs?