Created
May 4, 2024 19:35
-
-
Save edufolly/b994536b9183428c20d41dca68925e80 to your computer and use it in GitHub Desktop.
Script to install order-tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
filename="order-tests-linux.tar.gz" | |
latest=$(curl --silent --fail https://api.github.com/repos/edufolly/order_tests/releases/latest) | |
url=$(jq -r '.assets[] | select(.name == "order-tests-linux.tar.gz").browser_download_url' <<< $latest) | |
curl --silent --fail --remote-name --location "$url" | |
tar -xf $filename | |
rm $filename | |
mv order-tests /usr/local/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment