Gen7Data/fetch_tester.sh

7 lines
291 B
Bash
Executable File

#!/bin/sh
TESTERVERSION=0.0.1
curl -X GET "https://git.p-epsilon.com/api/v1/repos/Deukhoofd/PokemonScriptTester/releases/tags/$TESTERVERSION" -H "accept: application/json" |
jq '.assets[] | select(.name=="PokemonScriptTester") .browser_download_url ' |
xargs curl > PokemonScriptTester