Adds execute permission to test runner
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
aed8ba8b75
commit
457d23fb1a
|
@ -4,7 +4,9 @@ TESTERVERSION=0.0.1
|
||||||
|
|
||||||
# Get the release information from the api for the specified version
|
# 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
|
# 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
|
# Download the file at the given url
|
||||||
xargs curl > PokemonScriptTester
|
xargs curl > PokemonScriptTester
|
||||||
|
|
||||||
|
chmod +x PokemonScriptTester
|
Loading…
Reference in New Issue