Adds some comments to what we're doing in the fetch_tester

This commit is contained in:
Deukhoofd 2021-08-29 13:29:51 +02:00
parent 22fb58fc62
commit aed8ba8b75
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,9 @@
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" |
# Parse as json, select the url we need to download the file
jq '.assets[] | select(.name=="PokemonScriptTester") .browser_download_url ' |
# Download the file at the given url
xargs curl > PokemonScriptTester