Adds some comments to what we're doing in the fetch_tester
This commit is contained in:
parent
22fb58fc62
commit
aed8ba8b75
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
TESTERVERSION=0.0.1
|
TESTERVERSION=0.0.1
|
||||||
|
|
||||||
|
# Get the release information from the api for the specified version
|
||||||
curl -X GET "https://git.p-epsilon.com/api/v1/repos/Deukhoofd/PokemonScriptTester/releases/tags/$TESTERVERSION" -H "accept: application/json" |
|
curl -X GET "https://git.p-epsilon.com/api/v1/repos/Deukhoofd/PokemonScriptTester/releases/tags/$TESTERVERSION" -H "accept: application/json" |
|
||||||
|
# Parse as json, select the url we need to download the file
|
||||||
jq '.assets[] | select(.name=="PokemonScriptTester") .browser_download_url ' |
|
jq '.assets[] | select(.name=="PokemonScriptTester") .browser_download_url ' |
|
||||||
|
# Download the file at the given url
|
||||||
xargs curl > PokemonScriptTester
|
xargs curl > PokemonScriptTester
|
Loading…
Reference in New Issue